<p>Custom withdrawal fee was not being used because the custom withdrawal fee flag was not set.<br>
<span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #5575.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="923274752" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/5575" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/5575/hovercard" href="https://github.com/bisq-network/bisq/issues/5575">#5575</a></p>
<h3>Steps to reproduce the issue (regtest)</h3>
<ul>
<li>Prerequisite: <code>Use custom withdrawal fee</code> is unchecked in Settings/Preferences.</li>
<li>Go to Funds/Receive funds select a receiving address and copy to clipboard.</li>
<li>Go to Funds/Send funds, paste your address into the withdraw to address field.</li>
<li>Take note of the default suggested transaction fee (in this case <strong>50 sats/vb</strong>).</li>
<li>Click use custom value for fee, enter 2 sats/vbyte or the lowest value permissible.</li>
<li>Click Withdraw Selected.  Note the mining fee and the sats/vb reported alongside it.</li>
<li>Click yes to withdraw.</li>
<li>Now go to the log where it details the transaction, note the weight e.g. 110 virtual bytes, and note the fee paid e.g. 0.00055 BTC ( = 55000 sats).</li>
<li>Divide the fee paid by virtual bytes to get the actual fee per vb paid, in this case 55000 / 110 = <strong>50 sats/vb</strong>.</li>
<li>The fee used is the value originally shown in the fee text box, instead of the one the user entered.</li>
</ul>

<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/5602'>https://github.com/bisq-network/bisq/pull/5602</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>fix custom withdrawal fee bug</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5602/files#diff-1899e161042b90cb20b10511f052d0c6237757c97ba32fb35dddb31fccb9cb4b">desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.java</a>
    (1)
  </li>
</ul>

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