projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use proper sighash flag for remote HTLCs with anchor outputs
[rust-lightning]
/
fuzz
/
src
/
bin
/
msg_onion_hop_data_target.rs
diff --git
a/fuzz/src/bin/msg_onion_hop_data_target.rs
b/fuzz/src/bin/msg_onion_hop_data_target.rs
index 493817c7eea62f656efe955445304becc3cb5717..ae21e9bd9cfdca7fe35c0a0fa2defadc49fdb49c 100644
(file)
--- a/
fuzz/src/bin/msg_onion_hop_data_target.rs
+++ b/
fuzz/src/bin/msg_onion_hop_data_target.rs
@@
-12,6
+12,9
@@
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
+#[cfg(not(fuzzing))]
+compile_error!("Fuzz targets need cfg=fuzzing");
+
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_onion_hop_data::*;
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_onion_hop_data::*;