fuzz: check that script deserialization roundtrips

This commit is contained in:
Andrew Poelstra 2018-08-24 00:50:24 +00:00
parent ef642295c5
commit cef78d81af
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ fn do_test(data: &[u8]) {
} }
} }
assert_eq!(b.into_script(), script); assert_eq!(b.into_script(), script);
assert_eq!(data, &serialize::serialize(&script).unwrap()[..]);
} }
} }