We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef868cc commit b9a207bCopy full SHA for b9a207b
bitcoind-tests/tests/test_desc.rs
@@ -276,7 +276,7 @@ pub fn test_desc_satisfy(
276
println!("Testing descriptor: {}", definite_desc);
277
// Finalize the transaction using psbt
278
// Let miniscript do it's magic!
279
- if let Err(_) = psbt.finalize_mut(&secp) {
+ if psbt.finalize_mut(&secp).is_err() {
280
return Err(DescError::PsbtFinalizeError);
281
}
282
let tx = psbt.extract(&secp).expect("Extraction error");
0 commit comments