<p><code>TriggerPriceService</code> is changed to use a <code>BootstrapListener</code> on the P2PService so that it can start after the P2P network is ready.</p>
<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #5190.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="807490353" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/5190" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/5190/hovercard" href="https://github.com/bisq-network/bisq/issues/5190">#5190</a> : Prevents an Uncaught Exception error at startup.</p>
<hr>
<h3>To test (pre):</h3>
<ol>
<li>Create offer Buy, choosing "Deactivate offer if over x" price with a trigger price just above current spot.</li>
<li>Close down Bisq and wait for the market price to move over the deactivation price.</li>
<li>Start Bisq, the error message above will pop up.</li>
</ol>
<h3>To test (post):</h3>
<p>After applying this patch, at step 3 the offer will be deactivated successfully on startup and not produce an error popup.</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/5191'>https://github.com/bisq-network/bisq/pull/5191</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Fix issue with TriggerPriceService deactivating offer too early</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5191/files#diff-6b7ed5da702d60285e015b3853cfa5d7049278fee5f06331cbfafbfbea7336f3">core/src/main/java/bisq/core/offer/TriggerPriceService.java</a>
    (22)
  </li>
</ul>

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