HTTP and WS endpoint should be possible to enable at the same port
Closed this issue · 1 comments
shuse2 commented
Expected behavior
HTTP and WS endpoint should be possible to enable at the same port from the config with different path
Actual behavior
Node fails to start
Steps to reproduce
Add ['http', 'ws'] to rpc.modes
in the config
Which version(s) does this affect? (Environment, OS, etc...)
development
shuse2 commented
Related bugs: when creating new socket for ws at https://github.com/LiskHQ/lisk-engine/blob/main/pkg/rpc/ws.go#L109, it should pass the invoker
from the server as well