Skip to content

Commit e361cfc

Browse files
committed
Remove unneeded return statement
Clippy emits: warning: unneeded `return` statement As suggested, remove unneeded return statement.
1 parent f9907b0 commit e361cfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoind-tests/tests/test_desc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ pub fn test_desc_satisfy(
297297
// Assert that the confirmations are > 0.
298298
let num_conf = cl.get_transaction(&txid, None).unwrap().info.confirmations;
299299
assert!(num_conf > 0);
300-
return Ok(tx.input[0].witness.clone());
300+
Ok(tx.input[0].witness.clone())
301301
}
302302

303303
// Find all secret corresponding to the known public keys in ms

0 commit comments

Comments
 (0)