diff --git a/rpc.ts b/rpc.ts index 7f3ecc7..5ffd59e 100644 --- a/rpc.ts +++ b/rpc.ts @@ -35,7 +35,7 @@ export class RPC implements RPCInterface { //Network information related /** The function that sends the RPC POST request */ - async call(payload: Record): Promise> { + async call>(payload: Record): Promise { if (this.debug) console.log(JSON.stringify(payload)); const resp = await fetch(this.rpc_url, { method: "POST",