From 2c3490644162ff87d7512fd8a1769db17f0eedfb Mon Sep 17 00:00:00 2001 From: Attila Gazso <230163+agazso@users.noreply.github.com> Date: Fri, 8 Dec 2023 16:16:28 +0100 Subject: [PATCH] docs(guides): change localhost to 127.0.0.1 to avoid error Using `localhost` on linux in the `SemaphoreEthers` constructor causes an error: https://github.com/semaphore-protocol/semaphore/issues/469 Changing it to `127.0.0.1` would make it work everywhere. --- versioned_docs/version-V3/guides/fetching-data.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-V3/guides/fetching-data.mdx b/versioned_docs/version-V3/guides/fetching-data.mdx index 8b5d02c..74e6e95 100644 --- a/versioned_docs/version-V3/guides/fetching-data.mdx +++ b/versioned_docs/version-V3/guides/fetching-data.mdx @@ -131,7 +131,7 @@ const semaphoreEthers = new SemaphoreEthers("homestead", { }) // or: -const semaphoreEthers = new SemaphoreEthers("http://localhost:8545", { +const semaphoreEthers = new SemaphoreEthers("http://127.0.0.1:8545", { address: "semaphore-address" }) ```