diff --git a/packages/store-sync/src/wiresaw.ts b/packages/store-sync/src/wiresaw.ts index fcb9e4da1e..0007916a9f 100644 --- a/packages/store-sync/src/wiresaw.ts +++ b/packages/store-sync/src/wiresaw.ts @@ -52,7 +52,7 @@ export function watchLogs({ url, address, fromBlock }: WatchLogsInput): WatchLog try { debug("keeping socket alive"); - client.requestAsync({ body: { method: "net_version" }, timeout: 2000 }); + await client.requestAsync({ body: { method: "net_version" }, timeout: 2000 }); } catch (error) { debug("no response to keep alive, closing...", error); clearInterval(keepAliveInterval);