[bisq-network/bisq] Add missing filtering on lists (PR #5963)

xyzmaker123 notifications at github.com
Fri Jan 21 16:41:57 CET 2022


@xyzmaker123 commented on this pull request.



> +                }
+                if (trade.getDepositTxId() != null && trade.getDepositTxId().contains(filterString)) {
+                    return true;
+                }
+                if (trade.getPayoutTxId() != null && trade.getPayoutTxId().contains(filterString)) {
+                    return true;
+                }
+
+                Contract contract = trade.getContract();
+
+                boolean isBuyerOnion = false;
+                boolean isSellerOnion = false;
+                boolean matchesBuyersPaymentAccountData = false;
+                boolean matchesSellersPaymentAccountData = false;
+                if (contract != null) {
+                    isBuyerOnion = contract.getBuyerNodeAddress().getFullAddress().contains(filterString);

[Fixed](https://github.com/bisq-network/bisq/pull/5963/commits/2f6c249e3197f8f2a007b717daf6132b3bf7fed9)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5963#discussion_r789765753
You are receiving this because you are subscribed to this thread.

Message ID: <bisq-network/bisq/pull/5963/review/859703150 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20220121/7e67143e/attachment.htm>


More information about the bisq-github mailing list