*prettier

This commit is contained in:
Derrick Hammer 2022-07-31 21:03:35 -04:00
parent 8ecb7722b4
commit eeffce5f02
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import { RPCRequest, RPCResponse } from "./types";
import { Buffer } from "buffer"; import { Buffer } from "buffer";
import { blake2b } from "libskynet"; import { blake2b } from "libskynet";
import jsonStringify from "json-stable-stringify" import jsonStringify from "json-stable-stringify";
export default class RpcQuery { export default class RpcQuery {
private _network: RpcNetwork; private _network: RpcNetwork;
@ -94,7 +94,7 @@ export default class RpcQuery {
socket.write(pack(this._query)); socket.write(pack(this._query));
timer = setTimeout(() => { timer = setTimeout(() => {
reject("timeout"); reject("timeout");
}, this._network.relayTimeout * 1000) as NodeJS.Timeout; }, this._network.relayTimeout * 1000) as NodeJS.Timeout;
}); });
} }