Skip to content

Commit

Permalink
Fix NNS reverse resolver address
Browse files Browse the repository at this point in the history
  • Loading branch information
solimander committed Feb 2, 2023
1 parent ae0b5ce commit 608d251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nouns-webapp/src/utils/lookupNNSOrENS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export async function lookupNNSOrENS(
try {
// Call resolver contract
const res = await library.call({
to: '0x3e1970dc478991b49c4327973ea8a4862ef5a4de', // see https://etherscan.io/address/0x3e1970dc478991b49c4327973ea8a4862ef5a4de
data: '0x55ea6c47000000000000000000000000' + address.substring(2), // call .resolve(address) method
to: '0x849f92178950f6254db5d16d1ba265e70521ac1b', // see https://etherscan.io/address/0x849f92178950f6254db5d16d1ba265e70521ac1b
data: `0x55ea6c47000000000000000000000000${address.substring(2)}`, // call .resolve(address) method
});
// Parse result into a string.
const offset = EthersBN.from(utils.hexDataSlice(res, 0, 32)).toNumber();
Expand Down

0 comments on commit 608d251

Please sign in to comment.