<p></p>
<p><b>@ghubstan</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/bisq-network/bisq/pull/5659#discussion_r691467813">desktop/src/main/java/bisq/desktop/main/offer/offerbook/OfferBook.java</a>:</p>
<pre style='color:#555'>>                          offer.getId(),
-                        hashOfPayload.getHex());
+                        hashOfPayload == null ? "null" : hashOfPayload.getHex());
+            }
+
+            // The OfferBookListItem with a null or matching payload-hash was not found.
+            // However, when the API's CLI is used to edit and deactivate an offer
+            // in the same command, the edited offer is not re-published (and cannot be
+            // found in local storage).  In this case, we need to remove the deactivated
+            // offer from the list if the local store does not contain an offer with a
+            // matching offerId.
+            if (!isStoredLocally(offer)) {
+                Optional<OfferBookListItem> viewItem = getOfferBookListItem(offer);
+                viewItem.ifPresent((item) -> {
+                    offerBookListItems.remove(item);
</pre>
<p>Commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/bisq-network/bisq/commit/fb4e00fb6bf6c6fbac536292d3b930f3c04cacf0/hovercard" href="https://github.com/bisq-network/bisq/commit/fb4e00fb6bf6c6fbac536292d3b930f3c04cacf0"><tt>fb4e00f</tt></a> fixes the bug that caused me to add this workaround, and it has been removed in PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="971957738" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/5666" data-hovercard-type="pull_request" data-hovercard-url="/bisq-network/bisq/pull/5666/hovercard" href="https://github.com/bisq-network/bisq/pull/5666">#5666</a></p>

<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/5659#discussion_r691467813">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNW5M7CQF5JUMS2AKALT5PVR5ANCNFSM5B6V23YQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/AJFFTNU7TVDRTWSDIR3NI3TT5PVR5A5CNFSM5B6V23Y2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOFOZWBTI.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/5659#discussion_r691467813",
"url": "https://github.com/bisq-network/bisq/pull/5659#discussion_r691467813",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>