[bisq-network/bisq] Remove address prefix for mailbox messages (#4609)

chimp1984 notifications at github.com
Thu Oct 8 16:11:45 UTC 2020


@chimp1984 commented on this pull request.



>          Optional<Peer> reportedPeerOptional = reportedPeersClone.stream()
                 .filter(e -> e.getNodeAddress().equals(nodeAddress)).findAny();
         if (reportedPeerOptional.isPresent()) {
             Peer reportedPeer = reportedPeerOptional.get();
             removeReportedPeer(reportedPeer);
-            return reportedPeer;
-        } else {
-            return null;
         }

Will apply. Just did not intend to refactor too much but I agree....

-- 
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/4609#discussion_r501842520
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201008/e21e746b/attachment.html>


More information about the bisq-github mailing list