*Streaming query needs to pass relay
This commit is contained in:
parent
bddacc1a7a
commit
62849f009b
|
@ -214,7 +214,7 @@ export abstract class RpcQueryBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
export class SimpleRpcQuery extends RpcQueryBase {
|
export class SimpleRpcQuery extends RpcQueryBase {
|
||||||
private _relay: string | Buffer;
|
protected _relay: string | Buffer;
|
||||||
constructor(
|
constructor(
|
||||||
network: RpcNetwork,
|
network: RpcNetwork,
|
||||||
relay: string | Buffer,
|
relay: string | Buffer,
|
||||||
|
@ -258,6 +258,7 @@ export class StreamingRpcQuery extends SimpleRpcQuery {
|
||||||
RPC_MODULE,
|
RPC_MODULE,
|
||||||
this._queryType,
|
this._queryType,
|
||||||
{
|
{
|
||||||
|
relay: this._relay,
|
||||||
query: this._query,
|
query: this._query,
|
||||||
options: { ...this._options, streamHandler: true },
|
options: { ...this._options, streamHandler: true },
|
||||||
network: this._network.networkId,
|
network: this._network.networkId,
|
||||||
|
|
Loading…
Reference in New Issue