[bisq-network/bisq] Improve warning when BSQ swap offer is removed (PR #5891)

Christoph Atteneder notifications at github.com
Mon Dec 6 09:18:40 CET 2021


@ripcurlx commented on this pull request.



> @@ -181,6 +183,11 @@ boolean isBootstrappedOrShowPopup() {
         return GUIUtil.isBootstrappedOrShowPopup(p2PService);
     }
 
+    public boolean isMakerFee(OpenOffer openOffer) {
+        Coin makerFee = openOffer.getOffer().getMakerFee();
+        return makerFee != null && makerFee.isPositive();

Correct - I moved some code parts and didn't revisit if the null check is still necessary.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5891#discussion_r762782382
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211206/32f0a925/attachment.htm>


More information about the bisq-github mailing list