Skip to content

Commit

Permalink
Merge pull request #6818 from jmacxx/fix_issue_6797
Browse files Browse the repository at this point in the history
Arbitration broadcast DPT and dispute message in parallel.
  • Loading branch information
alejandrogarcia83 authored Aug 22, 2023
2 parents 34d61d1 + 1a184a2 commit e5eaa99
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -647,11 +647,10 @@ private void doOpenDispute(boolean isSupportTicket, Transaction depositTx) {
dispute.setBurningManSelectionHeight(trade.getProcessModel().getBurningManSelectionHeight());
dispute.setTradeTxFee(trade.getTradeTxFeeAsLong());

((DisputeProtocol) tradeManager.getTradeProtocol(trade)).onPublishDelayedPayoutTx(() -> {
log.info("DelayedPayoutTx published and message sent to peer");
sendOpenDisputeMessage(disputeManager, resultHandler, dispute);
},
((DisputeProtocol) tradeManager.getTradeProtocol(trade)).onPublishDelayedPayoutTx(
() -> log.info("DelayedPayoutTx published and message sent to peer"),
errorMessage -> new Popup().error(errorMessage).show());
sendOpenDisputeMessage(disputeManager, resultHandler, dispute);
} else {
log.warn("Invalid dispute state {}", disputeState.name());
}
Expand Down

0 comments on commit e5eaa99

Please sign in to comment.