2024-06-09 automated rustfmt nightly

This commit is contained in:
Fmt Bot 2024-06-09 01:09:23 +00:00 committed by github-actions[bot]
parent f260b097f4
commit 8e9be3beed
1 changed files with 3 additions and 2 deletions

View File

@ -25,9 +25,10 @@ fn do_test(data: &[u8]) {
assert_eq!(ser, bitcoin::psbt::Psbt::serialize(&deser));
let new_bytes = consume_random_bytes(&mut new_data);
let psbt_b: Result<bitcoin::psbt::Psbt, _> = bitcoin::psbt::Psbt::deserialize(new_bytes);
let psbt_b: Result<bitcoin::psbt::Psbt, _> =
bitcoin::psbt::Psbt::deserialize(new_bytes);
match psbt_b {
Err(_) => {},
Err(_) => {}
Ok(mut psbt_b) => {
assert_eq!(psbt_b.combine(psbt.clone()).is_ok(), psbt.combine(psbt_b).is_ok());
}