[bisq-network/bisq] Fix get all bonds not returning not active bonds (#2526)

benk10 notifications at github.com
Wed Mar 13 17:10:44 UTC 2019

ben-kaufman commented on this pull request.

> @@ -530,8 +531,8 @@ public long getTotalAmountOfConfiscatedTxOutputs() {
     public List<Bond> getAllBonds() {
-        List<Bond> bonds = bondedReputationRepository.getActiveBonds();
-        bonds.addAll(bondedRolesRepository.getActiveBonds());
+        List<Bond> bonds = new ArrayList<>(bondedReputationRepository.getBonds());

I agree but there seems to be no need for getActiveBonds() method for now.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190313/8e972e86/attachment.html>

More information about the bisq-github mailing list