arbitrator sends same dispute payout tx to both peers on resolve w/ grpc

fix npe in trade.get*DepositTx()
This commit is contained in:
woodser 2023-02-22 13:06:22 -05:00
parent 55650c495b
commit ce579b78ca
5 changed files with 18 additions and 18 deletions

View file

@ -590,8 +590,8 @@ public class DisputeSummaryWindow extends Overlay<DisputeSummaryWindow> {
closeTicketButton.setOnAction(e -> {
// create payout tx
MoneroTxWallet payoutTx = arbitrationManager.createDisputePayoutTx(trade, dispute, disputeResult, false);
// get or create payout tx
MoneroTxWallet payoutTx = trade.isPayoutPublished() ? trade.getPayoutTx() : arbitrationManager.createDisputePayoutTx(trade, dispute.getContract(), disputeResult, false);
// show confirmation
if (dispute.getSupportType() == SupportType.ARBITRATION &&