Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fuzz/fuzz_targets/bitcoin/arbitrary_witness.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use arbitrary::{Arbitrary, Unstructured};
use honggfuzz::fuzz;
use bitcoin::blockdata::witness::WitnessExt;
use bitcoin::consensus::{deserialize, serialize};
use bitcoin::Witness;
use bitcoin::blockdata::witness::WitnessExt;
use honggfuzz::fuzz;

fn do_test(data: &[u8]) {
let mut u = Unstructured::new(data);
Expand Down
2 changes: 1 addition & 1 deletion fuzz/fuzz_targets/units/parse_int.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use arbitrary::Unstructured;
use honggfuzz::fuzz;
use bitcoin::parse_int;
use honggfuzz::fuzz;

fn do_test(data: &[u8]) {
let mut u = Unstructured::new(data);
Expand Down
1 change: 1 addition & 0 deletions primitives/src/witness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ impl<'a> Arbitrary<'a> for Witness {
mod test {
#[cfg(feature = "alloc")]
use alloc::vec;

use super::*;

// Appends all the indices onto the end of a list of elements.
Expand Down