projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pass the current time through `ScoreUpDate` methods
[rust-lightning]
/
lightning
/
src
/
util
/
fuzz_wrappers.rs
diff --git
a/lightning/src/util/fuzz_wrappers.rs
b/lightning/src/util/fuzz_wrappers.rs
index 8f15844e10188cafa2d17cd9da692e5d1c797ab6..afe9c402c713981a5860002655aa101442fad37e 100644
(file)
--- a/
lightning/src/util/fuzz_wrappers.rs
+++ b/
lightning/src/util/fuzz_wrappers.rs
@@
-10,11
+10,11
@@
macro_rules! hash_to_message {
($slice: expr) => {
{
macro_rules! hash_to_message {
($slice: expr) => {
{
- #[cfg(not(f
eature = "fuzztarget"
))]
+ #[cfg(not(f
uzzing
))]
{
::bitcoin::secp256k1::Message::from_slice($slice).unwrap()
}
{
::bitcoin::secp256k1::Message::from_slice($slice).unwrap()
}
- #[cfg(f
eature = "fuzztarget"
)]
+ #[cfg(f
uzzing
)]
{
match ::bitcoin::secp256k1::Message::from_slice($slice) {
Ok(msg) => msg,
{
match ::bitcoin::secp256k1::Message::from_slice($slice) {
Ok(msg) => msg,