Skip to content

Commit

Permalink
Fix Clippy warning: simplify error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
BitcoinZavior committed Nov 8, 2024
1 parent e0251b4 commit 2b8592e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bdk-ffi/src/tx_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ mod tests {
.finish(&Arc::new(wallet))
{
Ok(tx) => println!("Transaction serialized: {}\n", tx.serialize()),
Err(e) => println!("Error: {}", e.to_string()),
Err(e) => eprintln!("Error: {:?}", e),
}
} else {
println!("Failed to retrieve valid policies for keychains.");
Expand Down

0 comments on commit 2b8592e

Please sign in to comment.