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 }