From 03a6ff0332e89c68577d7c8a1f792859f5b95314 Mon Sep 17 00:00:00 2001 From: tabcat Date: Sun, 16 Jul 2023 19:24:33 -0500 Subject: [PATCH] chore: fix linter errors --- src/advertisers/dht.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/advertisers/dht.ts b/src/advertisers/dht.ts index 43cc960..493aac8 100644 --- a/src/advertisers/dht.ts +++ b/src/advertisers/dht.ts @@ -18,7 +18,7 @@ const collaborate = (createEphemeralLibp2p: CreateEphemeralLibp2p, options: Opti const { stop, libp2p: ephemeral } = await createEphemeralLibp2p(provider) yield * scopedDht(ephemeral, options.scope).provide(dcid) if (stop != null) { - stop(ephemeral) + await stop(ephemeral) } }