docs: fixed typo in ens cookbook (#4401)

This commit is contained in:
Richard Moore 2023-11-02 14:35:19 -04:00
parent 22b7a2c111
commit 61a66e413a

View File

@ -43,7 +43,7 @@ async function getTextRecords(_provider, name) {
// Filter the *unique* keys
const keys = [ ...(new Set(logs.map((log) => log.args.key))) ];
// Get the values for the keys; failures are discard
// Get the values for the keys; failures are discarded
const values = await Promise.all(keys.map((key) => {
try {
return resolver.getText(key);