Fail to deserialize ChannelManager if it is ahead of any monitor(s)
authorMatt Corallo <git@bluematt.me>
Thu, 19 Mar 2020 23:15:06 +0000 (19:15 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 20 Mar 2020 16:30:57 +0000 (12:30 -0400)
commit492983f54fb035d5c46db25078fabc1518bdaa28
treed3dc248ea3cd4706d4e77ba0b005b3750116aa7c
parent7df042b33453438258a11407a9ce2ebe127af274
Fail to deserialize ChannelManager if it is ahead of any monitor(s)

If any monitors are out of sync with the Channel, we previously
closed the channel, but we should really only do that if the
monitor is ahead of the channel, opting to call the whole thing
invalid if the channel is ahead of the monitor.
lightning/src/ln/channelmanager.rs