From 8296ce897c13904418dcaba7e2e22ab7ed615d53 Mon Sep 17 00:00:00 2001 From: jiftechnify Date: Mon, 28 Aug 2023 01:54:33 +0900 Subject: [PATCH] fix a code sample in README - add pool.close() usage --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a978930..15e921d 100644 --- a/README.md +++ b/README.md @@ -160,6 +160,8 @@ let relaysForEvent = pool.seenOn( '44e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245' ) // relaysForEvent will be an array of URLs from relays a given event was seen on + +pool.close() ``` ### Parsing references (mentions) from a content using NIP-10 and NIP-27