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

sqrrm notifications at github.com
Mon Sep 7 09:35:12 UTC 2020


@sqrrm 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);

Yeah, started with first commit, then everything changed and I didn't remove this comment.

-- 
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_r484313529
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200907/0016cf78/attachment.html>


More information about the bisq-github mailing list