From 333e9f638b412b6e5818475f49aee526a8d95155 Mon Sep 17 00:00:00 2001 From: JoeGruffins <34998433+JoeGruffins@users.noreply.github.com> Date: Tue, 14 Jan 2025 13:57:15 +0000 Subject: [PATCH] client/btc: Store correct tx history refund hash. (#3142) --- client/asset/btc/btc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/asset/btc/btc.go b/client/asset/btc/btc.go index 3a6b48ac2e..0e09d5cf82 100644 --- a/client/asset/btc/btc.go +++ b/client/asset/btc/btc.go @@ -4281,10 +4281,10 @@ func (btc *baseWallet) Refund(coinID, contract dex.Bytes, feeRate uint64) (dex.B } btc.addTxToHistory(&asset.WalletTransaction{ Type: asset.Refund, - ID: txHash.String(), + ID: refundHash.String(), Amount: uint64(utxo.Value), Fees: fee, - }, txHash, true) + }, refundHash, true) return ToCoinID(refundHash, 0), nil }