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