[bisq-network/bisq] Add 'takeoffer' API method (#4673)

Stan notifications at github.com
Thu Oct 22 13:15:00 UTC 2020


@ghubstan commented on this pull request.



> +    Trade getTrade(String tradeId) {
+        return getTradeWithId(tradeId);
+    }
+
+    private Trade getTradeWithId(String tradeId) {
+        return tradeManager.getTradeById(tradeId).orElseThrow(() ->
+                new IllegalArgumentException(format("trade with id '%s' not found", tradeId)));
+    }

Resolved in commit fa0e05a, PR https://github.com/bisq-network/bisq/pull/4679.


-- 
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/4673#discussion_r510151003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201022/6ac13528/attachment-0001.html>


More information about the bisq-github mailing list