fuzz: check that script deserialization roundtrips
This commit is contained in:
parent
ef642295c5
commit
cef78d81af
|
@ -31,6 +31,7 @@ fn do_test(data: &[u8]) {
|
|||
}
|
||||
}
|
||||
assert_eq!(b.into_script(), script);
|
||||
assert_eq!(data, &serialize::serialize(&script).unwrap()[..]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue