<p>This PR adds display of the Tx fee as a percentage, and includes validation to disallow the payout processing if tx fee is > 10% of the multisig amount.  The Tx cannot be signed or built until validation passes.</p>
<p>Fixes a bug whereby whitespace in an amount caused it to be parsed as 0.  It now trims whitespace from numeric input fields before parsing.</p>
<hr>
<p><strong>Screenshot showing the new Tx fee % field:</strong></p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/47253594/105396412-7ac06680-5be5-11eb-9264-9566d8232e1e.png"><img src="https://user-images.githubusercontent.com/47253594/105396412-7ac06680-5be5-11eb-9264-9566d8232e1e.png" alt="image" style="max-width:100%;"></a></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/5099'>https://github.com/bisq-network/bisq/pull/5099</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Manual payout tool: prevent absurdly high fee payout</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5099/files#diff-af2b2c049b2c688c7ef4461b998618ed316e9ca399d2ac232b0853cbea25c8b6">desktop/src/main/java/bisq/desktop/main/overlays/windows/ManualPayoutTxWindow.java</a>
    (19)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/5099.patch'>https://github.com/bisq-network/bisq/pull/5099.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/5099.diff'>https://github.com/bisq-network/bisq/pull/5099.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/5099">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNUXEZFOUL7JON2NCSDS3BYTRANCNFSM4WNKWCHA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNRNBIF3CJG3637ZL2TS3BYTRA5CNFSM4WNKWCHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LZL3MWQ.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/5099",
"url": "https://github.com/bisq-network/bisq/pull/5099",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>