Skip to content

Commit d2d4a48

Browse files
committed
f: Rename the new constructor to default
1 parent 14f9cbd commit d2d4a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/router.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ impl_writeable_tlv_based!(RouteParametersConfig, {
10811081

10821082
impl RouteParametersConfig {
10831083
/// Initates an new set of route parameter configs with default parameters.
1084-
pub fn new() -> Self {
1084+
pub fn default() -> Self {
10851085
Self {
10861086
max_total_routing_fee_msat: None,
10871087
max_total_cltv_expiry_delta: DEFAULT_MAX_TOTAL_CLTV_EXPIRY_DELTA,

0 commit comments

Comments
 (0)