Display tx-fee from BsqSwapProtocolModel

This commit is contained in:
ghubstan 2022-01-22 16:22:41 -03:00
parent 6e0299642e
commit fadaaf9151
No known key found for this signature in database
GPG Key ID: E35592D6800A861E

View File

@ -139,7 +139,7 @@ public class TradeInfo implements Payload {
.withDate(bsqSwapTrade.getDate().getTime())
.withRole(role == null ? "" : role)
.withIsCurrencyForTakerFeeBtc(false) // BSQ Swap fees always paid in BSQ.
.withTxFeeAsLong(bsqSwapTrade.getTxFee().value)
.withTxFeeAsLong(bsqSwapTrade.getBsqSwapProtocolModel().getTxFee())
.withTakerFeeAsLong(bsqSwapTrade.getTakerFeeAsLong())
// N/A for bsq-swaps: .withTakerFeeTxId(""), .withDepositTxId(""), .withPayoutTxId("")
.withTradeAmountAsLong(bsqSwapTrade.getAmountAsLong())