[bisq-network/bisq] Register dispute agents in apitest arbitrator daemon (#4462)
sqrrm
notifications at github.com
Wed Sep 2 23:48:40 UTC 2020
@sqrrm commented on this pull request.
> + this.keyRing = keyRing;
+ this.mediatorManager = mediatorManager;
+ this.refundAgentManager = refundAgentManager;
+ this.p2PService = p2PService;
+ setupListeners();
+ }
+
+ public Optional<Mediator> getMediator(NodeAddress nodeAddress) {
+ return mediatorManager.getDisputeAgentByNodeAddress(nodeAddress);
+ }
+
+ public Optional<RefundAgent> getRefundAgent(NodeAddress nodeAddress) {
+ return refundAgentManager.getDisputeAgentByNodeAddress(nodeAddress);
+ }
+
+ private boolean shouldRegisterTestArbitrationDisputeAgents() {
Yeah, sounds better. Let's go with that.
--
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/4462#discussion_r482604002
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200902/f471b188/attachment.html>
More information about the bisq-github
mailing list