Skip to content

Commit c8236b2

Browse files
authored
Merge pull request #545 from TheBlueMatt/2020-03-fuzz-0-fee
Don't return a feerate of 0 in full_stack_target fuzz on EOF
2 parents f2e9151 + 8a03830 commit c8236b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fuzz/src/full_stack.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl FeeEstimator for FuzzEstimator {
9999
//TODO: We should actually be testing at least much more than 64k...
100100
match self.input.get_slice(2) {
101101
Some(slice) => cmp::max(slice_to_be16(slice) as u64, 253),
102-
None => 0
102+
None => 253
103103
}
104104
}
105105
}

0 commit comments

Comments
 (0)