]> git.bitcoin.ninja Git - rust-lightning/commit
Add error logs when a ChannelManager as inconsistent monitor state
authorMatt Corallo <git@bluematt.me>
Mon, 21 Jun 2021 18:03:19 +0000 (18:03 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 29 Jun 2021 19:36:47 +0000 (19:36 +0000)
commit133e28ffe6de4491ccde71f6081efa0e76491b57
tree4ce4e534f17544d6fd8f8e783a766269c9fda6ae
parenta146ef2be28d9f4e4daeb8f88797115931824578
Add error logs when a ChannelManager as inconsistent monitor state

We had a client application which provided inconsistent monitor
state when deserializing a ChannelManager, resulting in opaque and
generic "InvalidData" deserialization failures. Instead, we log
some informative (and appropriately scary) warning messages in
such cases.
lightning/src/ln/channelmanager.rs