Skip to content

Commit

Permalink
refactor: ENS reverse (#10357)
Browse files Browse the repository at this point in the history
  • Loading branch information
guanbinrui committed Aug 11, 2023
1 parent dd8602b commit 499a859
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/web3-providers/src/ENS/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class ENS_API implements NameServiceAPI.Provider {

async reverse(address: string) {
return attemptUntil(
[this.ChainbaseDomain, this.R2D2Domain, this.TheGraphDomain].map(
[this.R2D2Domain, this.ChainbaseDomain, this.TheGraphDomain].map(
(x) => () => x.reverse(ChainId.Mainnet, address),
),
undefined,
Expand Down
1 change: 0 additions & 1 deletion packages/web3-providers/src/Storage/constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export const FIREFLY_API_URL = 'https://store.firefly.land/api/v1/str'
export const KV_ROOT_URL = 'https://kv.r2d2.to'
export const ENS_ROOT_URL = 'https://ens-reverse-lookup.r2d2.to/ens/'

0 comments on commit 499a859

Please sign in to comment.