We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14f9cbd commit d2d4a48Copy full SHA for d2d4a48
lightning/src/routing/router.rs
@@ -1081,7 +1081,7 @@ impl_writeable_tlv_based!(RouteParametersConfig, {
1081
1082
impl RouteParametersConfig {
1083
/// Initates an new set of route parameter configs with default parameters.
1084
- pub fn new() -> Self {
+ pub fn default() -> Self {
1085
Self {
1086
max_total_routing_fee_msat: None,
1087
max_total_cltv_expiry_delta: DEFAULT_MAX_TOTAL_CLTV_EXPIRY_DELTA,
0 commit comments