File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ export class EnsResolver {
148148 "function addr(bytes32) view returns (address)" ,
149149 "function addr(bytes32, uint) view returns (address)" ,
150150 "function text(bytes32, string) view returns (string)" ,
151- "function contenthash() view returns (bytes)" ,
151+ "function contenthash(bytes32 ) view returns (bytes)" ,
152152 ] , provider ) ;
153153
154154 }
@@ -281,7 +281,7 @@ export class EnsResolver {
281281 */
282282 async getContentHash ( ) : Promise < null | string > {
283283 // keccak256("contenthash()")
284- const data = await this . #fetch( "contenthash()" ) ;
284+ const data = await this . #fetch( "contenthash(bytes32 )" ) ;
285285
286286 // No contenthash
287287 if ( data == null || data === "0x" ) { return null ; }
You can’t perform that action at this time.
0 commit comments