<p>Double clicking the close ticketbutton creates two payout transactions.<br>
This fix makes sure only one payout transaction is created for the<br>
dispute.</p>
<p>Restarting the client allows for creating another refund transaction<br>
for the dispute if needed.</p>

<p>Refund agent reported a case of a refund being done twice. This PR makes sure that two transactions are not created for the same refund during one session. It's still possible to restart the client to make another refund for an already closed ticket if needed.</p>
<p>I managed to reproduce at least one case of double refund transactions by double clicking the close ticket button, there might be other ways to trigger the refund payout twice, but with this fix it will only create one refund transaction no matter which way the payout was triggered.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/5649'>https://github.com/bisq-network/bisq/pull/5649</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Avoid creating more than one refund payout</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5649/files#diff-247e1f2925ead73a58e8cdb4ea9db3012897f55ff66f364d0d353f14f8b10410">core/src/main/java/bisq/core/support/dispute/Dispute.java</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5649/files#diff-a6cc570e0f56a36136791beae8f497706216230467708be9343344cd953e5f08">core/src/main/resources/i18n/displayStrings.properties</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5649/files#diff-d09de2c65fb1ab1a76a2fcb867b350b10adf80cf634dc98b93f1cd08bc76b225">desktop/src/main/java/bisq/desktop/main/overlays/windows/DisputeSummaryWindow.java</a>
    (13)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/5649.patch'>https://github.com/bisq-network/bisq/pull/5649.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/5649.diff'>https://github.com/bisq-network/bisq/pull/5649.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/5649">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNTLFQGKDXDOMMIRVOTT2ZIG5ANCNFSM5BMHGWCA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNUNV64CPADIOS7M3QDT2ZIG5A5CNFSM5BMHGWCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OIYHGTQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/5649",
"url": "https://github.com/bisq-network/bisq/pull/5649",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>