*Use new rpc protocol
This commit is contained in:
parent
6d60a68674
commit
5b82f0a8d8
|
@ -257,12 +257,15 @@ export default class Handshake extends AbstractResolverModule {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private async query(tld: string, force: boolean): Promise<[] | boolean> {
|
private async query(
|
||||||
const query = this.resolver.rpcNetwork.query(
|
tld: string,
|
||||||
|
bypassCache: boolean
|
||||||
|
): Promise<[] | boolean> {
|
||||||
|
const query = this.resolver.rpcNetwork.wisdomQuery(
|
||||||
"getnameresource",
|
"getnameresource",
|
||||||
"hns",
|
"hns",
|
||||||
[tld],
|
[tld],
|
||||||
force
|
bypassCache
|
||||||
);
|
);
|
||||||
const resp = await query.result;
|
const resp = await query.result;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue