[bisq-network/bisq] Scan disputes for accounts where same user used diff. real names. (#4484)
chimp1984
notifications at github.com
Mon Sep 7 01:15:01 UTC 2020
@chimp1984 commented on this pull request.
> + String sellerAddress = contract.getSellerNodeAddress().getFullAddress();
+ addToMap(traderPubKeyHash, sellerRealNameAccountByAddressMap, sellerPaymentAccountPayload, sellerAddress, dispute, isBuyer);
+ }
+ });
+ }
+
+ private String getTraderPuKeyHash(PubKeyRing pubKeyRing) {
+ return Utilities.encodeToHex(Hash.getRipemd160hash(pubKeyRing.toProtoMessage().toByteArray()));
+ }
+
+ private void addToMap(String pubKeyHash, Map<String, List<RealNameAccountInfo>> map,
+ PaymentAccountPayload paymentAccountPayload,
+ String address,
+ Dispute dispute,
+ boolean isBuyer) {
+ if (paymentAccountPayload instanceof PayloadWithHolderName) {
I will use a stream filter in a new PR...
--
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_r484140650
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200906/9913ae98/attachment.html>
More information about the bisq-github
mailing list