We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38abbdd commit 795e707Copy full SHA for 795e707
1 file changed
src/handlers.rs
@@ -527,7 +527,9 @@ pub fn handle_offline_wallet_subcommand(
527
}
528
529
if let Some(utxos) = utxos {
530
- tx_builder.add_utxos(&utxos[..]).unwrap();
+ tx_builder
531
+ .add_utxos(&utxos[..])
532
+ .map_err(|_| bdk_wallet::error::CreateTxError::UnknownUtxo)?;
533
534
535
if let Some(unspendable) = unspendable {
0 commit comments