refactor: update ready method to call the status api

This commit is contained in:
Derrick Hammer 2023-07-29 00:14:01 -04:00
parent 4ce8448c06
commit c867e492c5
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}