Skip to content

Commit

Permalink
client/btc: Store correct tx history refund hash.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeGruffins committed Jan 14, 2025
1 parent 67390b3 commit 2620c43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/asset/btc/btc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2620c43

Please sign in to comment.