projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
f2e9151
)
Merge pull request #545 from TheBlueMatt/2020-03-fuzz-0-fee
author
Matt Corallo
<649246+TheBlueMatt@users.noreply.github.com>
Tue, 17 Mar 2020 18:01:06 +0000
(18:01 +0000)
committer
GitHub
<noreply@github.com>
Tue, 17 Mar 2020 18:01:06 +0000
(18:01 +0000)
Don't return a feerate of 0 in full_stack_target fuzz on EOF
fuzz/src/full_stack.rs
patch
|
blob
|
history
diff --git
a/fuzz/src/full_stack.rs
b/fuzz/src/full_stack.rs
index 3879d0b1da3cd506443bb8e29b4c7778b069ea7d..3ae4e56b5f1903093d621d6f91327fcc58d79b5f 100644
(file)
--- a/
fuzz/src/full_stack.rs
+++ b/
fuzz/src/full_stack.rs
@@
-99,7
+99,7
@@
impl FeeEstimator for FuzzEstimator {
//TODO: We should actually be testing at least much more than 64k...
match self.input.get_slice(2) {
Some(slice) => cmp::max(slice_to_be16(slice) as u64, 253),
- None =>
0
+ None =>
253
}
}
}