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

xyzmaker123 notifications at github.com
Fri Dec 3 22:36:05 CET 2021


@xyzmaker123 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();

`makerFee != null` check seems to be redundant

-- 
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#pullrequestreview-823136528
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211203/4bc99fd2/attachment.htm>


More information about the bisq-github mailing list