]> git.bitcoin.ninja Git - rust-lightning/commit
Add test for `ClosureReason::DisconnectedPeer`
authorViktor Tigerström <11711198+ViktorTigerstrom@users.noreply.github.com>
Sun, 8 May 2022 21:45:08 +0000 (23:45 +0200)
committerViktor Tigerström <11711198+ViktorTigerstrom@users.noreply.github.com>
Mon, 9 May 2022 13:05:24 +0000 (15:05 +0200)
commit7f0aa9324bc53ec92c616288d629ae11a026fc7a
tree4c3d63c83aa8ab60bb589a45b16268c898ffb536
parent65920818db58880f6576fd50c3ea5df273912978
Add test for `ClosureReason::DisconnectedPeer`

Add test that ensures that channels are closed with
`ClosureReason::DisconnectedPeer` if the peer disconnects before the
funding transaction has been broadcasted.
lightning/src/ln/functional_tests.rs