mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-12-16 08:14:15 -05:00
clear payout info on payout error for reprocessing
This commit is contained in:
parent
e7d39f9bdf
commit
8ef279522d
1 changed files with 2 additions and 1 deletions
|
|
@ -3575,7 +3575,8 @@ public abstract class Trade extends XmrWalletBase implements Tradable, Model {
|
||||||
paymentReceivedNackSender.setPaymentReceivedMessage(null);
|
paymentReceivedNackSender.setPaymentReceivedMessage(null);
|
||||||
paymentReceivedNackSender.setPaymentReceivedMessageState(MessageState.NACKED);
|
paymentReceivedNackSender.setPaymentReceivedMessageState(MessageState.NACKED);
|
||||||
}
|
}
|
||||||
if (!isPayoutPublished()) {
|
if (!isPayoutFinalized()) { // payout tx may be stale and show as published after reorg, so clear local info for reprocessing until finalized
|
||||||
|
log.warn("Resetting missing or failed payout tx after payout error for {} {}", getClass().getSimpleName(), getId());
|
||||||
getSelf().setUnsignedPayoutTxHex(null);
|
getSelf().setUnsignedPayoutTxHex(null);
|
||||||
setPayoutTxHex(null);
|
setPayoutTxHex(null);
|
||||||
setPayoutTxId(null);
|
setPayoutTxId(null);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue