]> git.bitcoin.ninja Git - rust-lightning/commit
Always send Shutdown resposnes to Shutdown messages
authorMatt Corallo <git@bluematt.me>
Tue, 30 Oct 2018 19:53:34 +0000 (15:53 -0400)
committerMatt Corallo <git@bluematt.me>
Thu, 1 Nov 2018 21:06:07 +0000 (17:06 -0400)
commit1993ec0d12c7503131dbb4564d6dbce29fbf1ff0
tree2ba402d570d79c1518cd3d1a9ddd3c8b9751a43c
parent7bb598e525dc90e978d29a68b3091203c63c024e
Always send Shutdown resposnes to Shutdown messages

We always require that any changes to Channel state be committed
immediately (within the same lock) so we should never have
uncommitted changes which would prevent us from sending a Shutdown
response.
src/ln/channel.rs