diff --git a/src/wallet/mod.rs b/src/wallet/mod.rs index 73169a02..b0db0ec3 100644 --- a/src/wallet/mod.rs +++ b/src/wallet/mod.rs @@ -2431,8 +2431,7 @@ mod test { .unsigned_tx .input .iter() - .find(|input| input.previous_output == utxo.outpoint) - .is_some(), + .any(|input| input.previous_output == utxo.outpoint), "foreign_utxo should be in there" );