[bisq-network/bisq] Use existing timer in unlockwallet(pwd, timeout) (#4558)
Stan
notifications at github.com
Mon Sep 28 14:58:00 UTC 2020
@ghubstan commented on this pull request.
> @@ -86,21 +90,53 @@ public void getOffers(GetOffersRequest req,
@Override
public void createOffer(CreateOfferRequest req,
StreamObserver<CreateOfferReply> responseObserver) {
- TransactionResultHandler resultHandler = transaction -> {
- CreateOfferReply reply = CreateOfferReply.newBuilder().setResult(true).build();
+ CountDownLatch latch = new CountDownLatch(1);
+ try {
+ TransactionResultHandler resultHandler = transaction -> {
+ latch.countDown();
I did a refactoring to fix the tx result handler issue in commit 94996a5. I'm working in a sub-branch, a child [PR 4559](https://github.com/bisq-network/bisq/pull/4559).
--
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/4558#discussion_r496006624
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200928/14e4c82f/attachment-0001.html>
More information about the bisq-github
mailing list