[bisq-network/bisq] Scan disputes for accounts where same user used diff. real names. (#4484)

chimp1984 notifications at github.com
Mon Sep 7 01:08:00 UTC 2020


@chimp1984 commented on this pull request.



> +
+
+    ///////////////////////////////////////////////////////////////////////////////////////////
+    // Private
+    ///////////////////////////////////////////////////////////////////////////////////////////
+
+    private void buildRealNameAccountMaps() {
+        buyerRealNameAccountByAddressMap.clear();
+        sellerRealNameAccountByAddressMap.clear();
+        disputeManager.getDisputesAsObservableList()
+                .forEach(dispute -> {
+                    Contract contract = dispute.getContract();
+                    PubKeyRing traderPubKeyRing = dispute.getTraderPubKeyRing();
+                    String traderPubKeyHash = getTraderPuKeyHash(traderPubKeyRing);
+                    String buyerPubKeyHash = getTraderPuKeyHash(contract.getBuyerPubKeyRing());
+                    boolean isBuyer = contract.isMyRoleBuyer(traderPubKeyRing);

I think you reviewed an older version, not in current version anymore.

-- 
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/4484#discussion_r484139764
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200906/349f4efc/attachment-0001.html>


More information about the bisq-github mailing list