From ad48e26d1921e15e360879b141f3951acaaf317a Mon Sep 17 00:00:00 2001 From: Leonardo Lima Date: Thu, 6 Jun 2024 18:57:44 -0300 Subject: [PATCH] fix(wallet/wallet): remove `0x` prefix from expected `TxId` display --- crates/wallet/tests/wallet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wallet/tests/wallet.rs b/crates/wallet/tests/wallet.rs index afc8a51f34..17dbabc856 100644 --- a/crates/wallet/tests/wallet.rs +++ b/crates/wallet/tests/wallet.rs @@ -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();