]> git.bitcoin.ninja Git - rust-lightning/commit
Swap `UserConfig::default()` for `test_default_channel_config`
authorMatt Corallo <git@bluematt.me>
Wed, 1 May 2024 21:56:04 +0000 (21:56 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 2 May 2024 15:39:03 +0000 (15:39 +0000)
commit11c3d7001ba54e1c8641566ca05dd58571f29c55
treeddae8006a7cf16d1a88d6fcd139345f4f38d4ebd
parent0e831b4bd0615a980e024fd0c63c5a3752fc718c
Swap `UserConfig::default()` for `test_default_channel_config`

As LDK changes, `UserConfig::default()` may imply marginally
different behavior, whereas `test_default_channel_config` is
intended to tweak defaults to provide a stable behavior for test
contexts.

This commit changes a few uses of `UserConfig::default()` to
`test_default_channel_config` in cases that will fail over the
coming commits due to dust changes.
lightning/src/ln/functional_tests.rs
lightning/src/ln/monitor_tests.rs
lightning/src/ln/onion_route_tests.rs