File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515// of Signer/ENS name to address so we can sync respond to listenerCount.
1616
1717import { getAddress , resolveAddress } from "../address/index.js" ;
18- import { ZeroHash } from "../constants/index.js" ;
18+ import { ZeroAddress } from "../constants/index.js" ;
1919import { Contract } from "../contract/index.js" ;
2020import { namehash } from "../hash/index.js" ;
2121import { Transaction } from "../transaction/index.js" ;
@@ -1140,7 +1140,7 @@ export class AbstractProvider implements Provider {
11401140 ] , this ) ;
11411141
11421142 const resolver = await ensContract . resolver ( node ) ;
1143- if ( resolver == null || resolver === ZeroHash ) { return null ; }
1143+ if ( resolver == null || resolver === ZeroAddress ) { return null ; }
11441144
11451145 const resolverContract = new Contract ( resolver , [
11461146 "function name(bytes32) view returns (string)"
You can’t perform that action at this time.
0 commit comments