[bisq-network/bisq] Add support to duplicate BSQ swap offers (PR #5886)

Christoph Atteneder notifications at github.com
Mon Dec 6 10:45:56 CET 2021


@ripcurlx commented on this pull request.



> @@ -228,11 +233,18 @@ private void loadView(Class<? extends View> viewClass, @Nullable Object data) {
                 selectOpenOffersView((OpenOffersView) view);
             }
         } else if (view instanceof DuplicateOfferView) {
-            if (duplicateOfferView == null && data instanceof OfferPayload) {
+            if (duplicateOfferView == null && data instanceof OfferPayloadBase) {
+                // Switch to create BSQ swap offer
+                if (data instanceof BsqSwapOfferPayload) {

Moved it into a Util

-- 
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/5886#discussion_r762845464
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211206/dae7446f/attachment.htm>


More information about the bisq-github mailing list