Skip to content

Commit

Permalink
fix(wallet/wallet): remove 0x prefix from expected TxId display
Browse files Browse the repository at this point in the history
  • Loading branch information
oleonardolima committed Jun 12, 2024
1 parent c699da6 commit ad48e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wallet/tests/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ fn test_add_foreign_utxo() {

#[test]
#[should_panic(
expected = "MissingTxOut([OutPoint { txid: 0x21d7fb1bceda00ab4069fc52d06baa13470803e9050edd16f5736e5d8c4925fd, vout: 0 }])"
expected = "MissingTxOut([OutPoint { txid: 21d7fb1bceda00ab4069fc52d06baa13470803e9050edd16f5736e5d8c4925fd, vout: 0 }])"
)]
fn test_calculate_fee_with_missing_foreign_utxo() {
let (mut wallet1, _) = get_funded_wallet_wpkh();
Expand Down

0 comments on commit ad48e26

Please sign in to comment.