From: Ardis Lu Date: Sun, 5 Nov 2023 03:24:36 +0000 (-0700) Subject: Use "safe" block instead of "latest" X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=e537367763d7aadd5f3a0ba66e31e00439dc41d3;p=ens2hex Use "safe" block instead of "latest" Node will sometimes return "block not found" for "latest" --- diff --git a/index.html b/index.html index 12e1630..1078dbd 100644 --- a/index.html +++ b/index.html @@ -343,7 +343,7 @@ to: '0x4976fb03c32e5b8cfe2b6ccb31c09ba78ebaba41', // ENS PublicResolver data: `0x3b3b57de${namehash(name)}` // 0x3b3b57de is the byte signature for the function "addr(bytes32)" in ENS PublicResolver }, - 'latest' + 'safe' ], id: index }));