<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #4865.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="752761121" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/4865" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/4865/hovercard" href="https://github.com/bisq-network/bisq/issues/4865">#4865</a></p>
<p>We used last trade price of BSQ for calculating the BSQ fee as fiat currency. This could distort the real amount in case the last trade had a price very different to average price.<br>
We use now the 30 day average BSQ price.</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/4909'>https://github.com/bisq-network/bisq/pull/4909</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Move methods from AxisInlierUtils to InlierUtil</li>
  <li>Remove empty class</li>
  <li>Move methods to AveragePriceUtil</li>
  <li>Use 30 day average BSQ price for calculating BSQ fee</li>
  <li>Use preferredTradeCurrency is fiat, otherwise the users country currency</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4909/files#diff-b604ee7141fcfacf2dd0aeade4bf393c4d4d93617ab327147c363539ae804496">core/src/main/java/bisq/core/offer/OfferUtil.java</a>
    (40)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4909/files#diff-136466c7d22c72503cf531d2ae508c14da86a45dbe2837bd9f03e5a5c900a6a8">core/src/main/java/bisq/core/util/AveragePriceUtil.java</a>
    (139)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4909/files#diff-96d2a4e53879acc967383311e425138c5c38f579257b91de085cba13e4acd74e">core/src/main/java/bisq/core/util/InlierUtil.java</a>
    (140)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4909/files#diff-3d9bc2a8bff92daf03cc4d7f2118ca56e3c670385ff19409768da2f0d96c0287">desktop/src/main/java/bisq/desktop/main/dao/economy/dashboard/BsqDashboardView.java</a>
    (115)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4909/files#diff-f8547f4a14630a5cd0d1b781344101d4ddfb52866aa86d74e8e0e02ca7243785">desktop/src/main/java/bisq/desktop/main/dao/wallet/dashboard/BsqDashboardView.java</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4909/files#diff-4fdf0468c75848229f447efb63895c35b93e5e9972f42e19f46077942cbef16c">desktop/src/main/java/bisq/desktop/util/AxisInlierUtils.java</a>
    (116)
  </li>
</ul>

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