mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Dont allow opening refudn agent dispute if delayed payout tx is invalid.
This commit is contained in:
parent
4f1cbbd00e
commit
2b0433870c
@ -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…
Reference in New Issue
Block a user