aboutsummaryrefslogtreecommitdiff
path: root/src/nostr_service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nostr_service.cpp')
-rw-r--r--src/nostr_service.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nostr_service.cpp b/src/nostr_service.cpp
index a1adbbb..a1f475c 100644
--- a/src/nostr_service.cpp
+++ b/src/nostr_service.cpp
@@ -273,9 +273,6 @@ string NostrService::queryRelays(
for (const string relay : this->_activeRelays)
{
this->_subscriptions[relay].push_back(subscriptionId);
-
- promise<tuple<string, bool>> requestPromise;
- requestFutures.push_back(move(requestPromise.get_future()));
future<tuple<string, bool>> requestFuture = async(
[this, &relay, &request, &eventHandler, &eoseHandler, &closeHandler]()
{