Skip to content

Commit ed3f534

Browse files
committed
client/btc: Store correct tx history refund hash.
1 parent 966b750 commit ed3f534

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/asset/btc/btc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4281,10 +4281,10 @@ func (btc *baseWallet) Refund(coinID, contract dex.Bytes, feeRate uint64) (dex.B
42814281
}
42824282
btc.addTxToHistory(&asset.WalletTransaction{
42834283
Type: asset.Refund,
4284-
ID: txHash.String(),
4284+
ID: refundHash.String(),
42854285
Amount: uint64(utxo.Value),
42864286
Fees: fee,
4287-
}, txHash, true)
4287+
}, refundHash, true)
42884288

42894289
return ToCoinID(refundHash, 0), nil
42904290
}

0 commit comments

Comments
 (0)