]> git.bitcoin.ninja Git - rust-lightning/commit
[fuzz] Handle monitor updates during get_and_clear_pending_msg_events
authorMatt Corallo <git@bluematt.me>
Wed, 21 Apr 2021 02:37:02 +0000 (02:37 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 21 May 2021 15:10:45 +0000 (15:10 +0000)
commit8acdbaf2a450e93d77defde9164116079f8cb9e7
treee75269ae4e91e89ae7d1d19f9d72e5b20e58c8d7
parent68152453880777bb2ca5acd8ccdf8ab00a48e74c
[fuzz] Handle monitor updates during get_and_clear_pending_msg_events

Because we may now generate a monitor update during
get_and_clear_pending_msg_events calls, we need to ensure we
re-serialize the relevant ChannelManager before attempting to
reload it, if such a monitor update occurred.
fuzz/src/chanmon_consistency.rs