*Streaming query needs to pass relay

This commit is contained in:
Derrick Hammer 2022-08-31 19:23:38 -04:00
parent bddacc1a7a
commit 62849f009b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 1 deletions

View File

@ -214,7 +214,7 @@ export abstract class RpcQueryBase {
}
export class SimpleRpcQuery extends RpcQueryBase {
private _relay: string | Buffer;
protected _relay: string | Buffer;
constructor(
network: RpcNetwork,
relay: string | Buffer,
@ -258,6 +258,7 @@ export class StreamingRpcQuery extends SimpleRpcQuery {
RPC_MODULE,
this._queryType,
{
relay: this._relay,
query: this._query,
options: { ...this._options, streamHandler: true },
network: this._network.networkId,