refactor: update ready method to call the status api
This commit is contained in:
parent
4ce8448c06
commit
c867e492c5
|
@ -122,6 +122,6 @@ export default class Eth extends AbstractResolverModule {
|
|||
}
|
||||
|
||||
async ready(): Promise<void> {
|
||||
await ETH_CLIENT.ready();
|
||||
return ((await ETH_CLIENT.status()) as any)?.ready;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue