mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Dont allow opening refudn agent dispute if delayed payout tx is invalid.
This commit is contained in:
parent
4f1cbbd00e
commit
2b0433870c
1 changed files with 8 additions and 1 deletions
|
@ -554,7 +554,14 @@ public class PendingTradesDataModel extends ActivatableDataModel {
|
|||
// The peer sent us an invalid donation address. We do not return here as we don't want to break
|
||||
// mediation/arbitration and log only the issue. The dispute agent will run validation as well and will get
|
||||
// a popup displayed to react.
|
||||
log.error("Donation address invalid. {}", e.toString());
|
||||
log.error("DelayedPayoutTxValidation failed. {}", e.toString());
|
||||
|
||||
if (useRefundAgent) {
|
||||
// We don't allow to continue and publish payout tx and open refund agent case.
|
||||
// In case it was caused by some bug we want to prevent a wrong payout. In case its a scam attempt we
|
||||
// want to protect the refund agent.
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
ResultHandler resultHandler;
|
||||
|
|
Loading…
Add table
Reference in a new issue