mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-01-03 17:40:10 +00:00
skip processing payout tx if already published
This commit is contained in:
parent
adf7348515
commit
d64ee42154
1 changed files with 2 additions and 2 deletions
|
@ -94,8 +94,8 @@ public class ProcessPaymentReceivedMessage extends TradeTask {
|
||||||
}
|
}
|
||||||
trade.requestPersistence();
|
trade.requestPersistence();
|
||||||
|
|
||||||
// process payout tx unless already unlocked
|
// process payout tx unless already published
|
||||||
if (!trade.isPayoutUnlocked()) processPayoutTx(message);
|
if (!trade.isPayoutPublished()) processPayoutTx(message);
|
||||||
|
|
||||||
// close open disputes
|
// close open disputes
|
||||||
if (trade.isPayoutPublished() && trade.getDisputeState().ordinal() >= Trade.DisputeState.DISPUTE_REQUESTED.ordinal()) {
|
if (trade.isPayoutPublished() && trade.getDisputeState().ordinal() >= Trade.DisputeState.DISPUTE_REQUESTED.ordinal()) {
|
||||||
|
|
Loading…
Reference in a new issue