projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop passing `InitFeatures` in msg handlers
[rust-lightning]
/
fuzz
/
src
/
chanmon_consistency.rs
diff --git
a/fuzz/src/chanmon_consistency.rs
b/fuzz/src/chanmon_consistency.rs
index fda0046828adb9b6befa51fb9741e226a2e04b0e..8bd6a38d39bf3c8b38edb76ee486cc505b134dc9 100644
(file)
--- a/
fuzz/src/chanmon_consistency.rs
+++ b/
fuzz/src/chanmon_consistency.rs
@@
-482,7
+482,7
@@
pub fn do_test<Out: Output>(data: &[u8], underlying_out: Out) {
} else { panic!("Wrong event type"); }
};
} else { panic!("Wrong event type"); }
};
- $dest.handle_open_channel(&$source.get_our_node_id(),
$source.init_features(),
&open_channel);
+ $dest.handle_open_channel(&$source.get_our_node_id(), &open_channel);
let accept_channel = {
let events = $dest.get_and_clear_pending_msg_events();
assert_eq!(events.len(), 1);
let accept_channel = {
let events = $dest.get_and_clear_pending_msg_events();
assert_eq!(events.len(), 1);
@@
-491,7
+491,7
@@
pub fn do_test<Out: Output>(data: &[u8], underlying_out: Out) {
} else { panic!("Wrong event type"); }
};
} else { panic!("Wrong event type"); }
};
- $source.handle_accept_channel(&$dest.get_our_node_id(),
$dest.init_features(),
&accept_channel);
+ $source.handle_accept_channel(&$dest.get_our_node_id(), &accept_channel);
let funding_output;
{
let events = $source.get_and_clear_pending_events();
let funding_output;
{
let events = $source.get_and_clear_pending_events();