]> git.bitcoin.ninja Git - rust-lightning/commit
Connect peers on startup in tests 2021-07-always-connect-in-tests
authorMatt Corallo <git@bluematt.me>
Fri, 30 Jul 2021 18:21:12 +0000 (18:21 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 30 Jul 2021 18:48:29 +0000 (18:48 +0000)
commit2745bd5ac776c48950bcb630338538d31a9615d0
tree93606b2b2046436e0ee349322c5b62dee8a3d77e
parente26c9b051a5983eae1f38fbd403763ad9924bf13
Connect peers on startup in tests

This avoids `ChannelManager` ever being confused by the fact that
it received a message from a peer which it didn't think it was
connected to.
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs