*ensure passed streamHandler overrides options
This commit is contained in:
parent
403297c255
commit
26fd962090
|
@ -122,7 +122,7 @@ export default class RpcNetwork {
|
||||||
this,
|
this,
|
||||||
relay,
|
relay,
|
||||||
{ method, module, data },
|
{ method, module, data },
|
||||||
{ streamHandler, ...options }
|
{ ...options, streamHandler }
|
||||||
).run();
|
).run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue