projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9431535
)
[fuzz] Don't allow HandleError in chanmon_consistency
author
Matt Corallo
<git@bluematt.me>
Tue, 17 Nov 2020 21:08:44 +0000
(16:08 -0500)
committer
Matt Corallo
<git@bluematt.me>
Sat, 21 Nov 2020 17:11:56 +0000
(12:11 -0500)
We should never generate Ignore-action HandleError events anymore
fuzz/src/chanmon_consistency.rs
patch
|
blob
|
history
diff --git
a/fuzz/src/chanmon_consistency.rs
b/fuzz/src/chanmon_consistency.rs
index 8a17719f9bbafab5a85c2b0f274cb5a46783d61e..441931d654c4d1a5c4d365571bf28b397897dc05 100644
(file)
--- a/
fuzz/src/chanmon_consistency.rs
+++ b/
fuzz/src/chanmon_consistency.rs
@@
-596,10
+596,6
@@
pub fn do_test<Out: test_logger::Output>(data: &[u8], out: Out) {
// Can be generated due to a payment forward being rejected due to a
// channel having previously failed a monitor update
},
- events::MessageSendEvent::HandleError { action: ErrorAction::IgnoreError, .. } => {
- // Can be generated at any processing step to send back an error, disconnect
- // peer or just ignore
- },
_ => panic!("Unhandled message event"),
}
}