mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
wait to observe published tx on error with payment received
This commit is contained in:
parent
d64ee42154
commit
203386f03d
@ -166,6 +166,7 @@ public class ProcessPaymentReceivedMessage extends TradeTask {
|
|||||||
trade.processPayoutTx(trade.getPayoutTxHex(), false, true);
|
trade.processPayoutTx(trade.getPayoutTxHex(), false, true);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
HavenoUtils.waitFor(trade.getXmrConnectionService().getRefreshPeriodMs()); // wait to see published tx
|
||||||
trade.syncAndPollWallet();
|
trade.syncAndPollWallet();
|
||||||
if (trade.isPayoutPublished()) log.info("Payout tx already published for {} {}", trade.getClass().getName(), trade.getId());
|
if (trade.isPayoutPublished()) log.info("Payout tx already published for {} {}", trade.getClass().getName(), trade.getId());
|
||||||
else throw e;
|
else throw e;
|
||||||
|
Loading…
Reference in New Issue
Block a user