*allow a buffer to be passed
This commit is contained in:
parent
ee5c1ea692
commit
cce09d1e95
|
@ -17,7 +17,7 @@ export default class RpcNetworkQueryFactory {
|
|||
query,
|
||||
options = {},
|
||||
}: {
|
||||
relay: string;
|
||||
relay: string | Buffer;
|
||||
query: ClientRPCRequest;
|
||||
options?: RpcQueryOptions;
|
||||
}): SimpleRpcQuery {
|
||||
|
|
|
@ -19,7 +19,7 @@ export default class SimpleRpcQuery extends RpcQueryBase {
|
|||
options,
|
||||
}: {
|
||||
network: RpcNetwork;
|
||||
relay?: string | any;
|
||||
relay?: string | Buffer | any;
|
||||
query: ClientRPCRequest;
|
||||
options: RpcQueryOptions;
|
||||
}) {
|
||||
|
|
Loading…
Reference in New Issue