]> git.bitcoin.ninja Git - rust-lightning/commit
Return a ChannelManager instead of result from ChannelManager::new()
authorMatt Corallo <git@bluematt.me>
Tue, 12 May 2020 17:34:00 +0000 (13:34 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 22 May 2020 18:28:56 +0000 (14:28 -0400)
commit9d4b6e762cd85b5dbbd23c5d04947fbda42269f9
treeb02c46e5cd008a0b3a8de5745a11dd4af0b3b8cb
parentfab5d7e0aeea24660b59bb7a1bf94c4dc33dc78b
Return a ChannelManager instead of result from ChannelManager::new()

We never actually fail, so we can just drop the Result type.
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs