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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nostr_service.cpp b/src/nostr_service.cpp
index 10d9fc6..83555eb 100644
--- a/src/nostr_service.cpp
+++ b/src/nostr_service.cpp
@@ -184,7 +184,7 @@ tuple<vector<string>, vector<string>> NostrService::publishEvent(shared_ptr<Even
// TODO: Make this method return a promise.
// TODO: Add a timeout to this method to prevent hanging while waiting for the relay.
-vector<shared_ptr<Event>> NostrService::queryRelays(shared_ptr<Filters> filters)
+std::future<vector<shared_ptr<Event>> NostrService::queryRelays(shared_ptr<Filters> filters)
{
if (filters->limit > 64 || filters->limit < 1)
{