Update monitor with preimage after channel close
authorValentine Wallace <vwallace@protonmail.com>
Fri, 23 Oct 2020 15:55:58 +0000 (11:55 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Mon, 16 Nov 2020 20:41:28 +0000 (15:41 -0500)
commit4ece5fd0f6433f0b834041edfbb327bd59affc48
tree801507bde99fdaef94131504c7cc0437a666402b
parent50ad627426ddd88410716222dfbf5f564118fdc6
Update monitor with preimage after channel close

If the channel is hitting the chain right as we receive a preimage,
previous to this commit the relevant ChannelMonitor would never
learn of this preimage.
lightning/src/chain/channelmonitor.rs
lightning/src/ln/channelmanager.rs