mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-07-25 07:45:23 -04:00
update to monero-ts v0.10.0
This commit is contained in:
parent
1ba0469798
commit
4345976f20
3 changed files with 123 additions and 13 deletions
|
@ -334,7 +334,7 @@ class TradeContext {
|
|||
if (this.disputeWinner) str += "\nDispute winner: " + (this.disputeWinner == DisputeResult.Winner.BUYER ? "Buyer" : "Seller");
|
||||
str += "\nPayout tx id: " + this.payoutTxId;
|
||||
if (this.payoutTxId) {
|
||||
str += "\nPayout fee: " + (await monerod.getTx(this.payoutTxId!)).getFee()!;
|
||||
str += "\nPayout fee: " + (await monerod.getTx(this.payoutTxId!))!.getFee()!;
|
||||
if (this.getBuyer().havenod) str += "\nBuyer payout: " + (await this.getBuyer().havenod!.getXmrTx(this.payoutTxId!))?.getIncomingTransfersList()[0].getAmount()!;
|
||||
if (this.getSeller().havenod) str += "\nSeller payout: " + (await this.getSeller().havenod!.getXmrTx(this.payoutTxId!))?.getIncomingTransfersList()[0].getAmount()!;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue