Skip to content

Commit b8566ea

Browse files
committed
f: Rename the new constructor to default
1 parent 7f5ce72 commit b8566ea

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
@@ -1076,7 +1076,7 @@ impl_writeable_tlv_based!(RouteParametersConfig, {
10761076

10771077
impl RouteParametersConfig {
10781078
/// Initates an new set of route parameter configs with default parameters.
1079-
pub fn new() -> Self {
1079+
pub fn default() -> Self {
10801080
Self {
10811081
max_total_routing_fee_msat: None,
10821082
max_total_cltv_expiry_delta: DEFAULT_MAX_TOTAL_CLTV_EXPIRY_DELTA,

0 commit comments

Comments
 (0)