]> git.bitcoin.ninja Git - rust-lightning/commit
Move announcement_signatures handling into new force-close macro 2018-09-channelmanager-err-macro
authorMatt Corallo <git@bluematt.me>
Wed, 5 Sep 2018 00:07:29 +0000 (20:07 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 5 Sep 2018 00:27:58 +0000 (20:27 -0400)
commita71abac55a07c6802fc6acd6fc934b2813e2a786
tree8bc5eb807ff6f0978b465afc1e2495c18b7c3a66
parent7a234b63857297a074f0268f677aaccaac08ade1
Move announcement_signatures handling into new force-close macro

Because we've separated out channel closure from ErrorMessage
returning we can return error messages in a few additional cases,
like if the peer sent us a message for a channel they didn't own.
src/ln/channelmanager.rs