From 2620c43202bc609411492986cb98eccaa8694023 Mon Sep 17 00:00:00 2001 From: JoeGruff Date: Tue, 14 Jan 2025 16:27:06 +0900 Subject: [PATCH] client/btc: Store correct tx history refund hash. --- 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 }