only sync wallet if not published on dispute closed

This commit is contained in:
woodser 2023-02-24 12:05:18 -05:00
parent 487d371a2d
commit 17ac09fa4d

View File

@ -253,8 +253,10 @@ public final class ArbitrationManager extends DisputeManager<ArbitrationDisputeL
dispute.setDisputeResult(disputeResult);
// sync and save wallet
if (!trade.isPayoutPublished()) {
trade.syncWallet();
trade.saveWallet();
}
// attempt to sign and publish dispute payout tx if given and not already published
if (disputeClosedMessage.getUnsignedPayoutTxHex() != null && !trade.isPayoutPublished()) {