[Minor] use proper constructor for proxy in fluffy (#759)
This commit is contained in:
parent
25522b2c24
commit
0fb0fc4680
|
@ -68,7 +68,7 @@ proc run(config: PortalConf) {.raises: [CatchableError, Defect].} =
|
|||
|
||||
if config.rpcEnabled:
|
||||
let ta = initTAddress(config.rpcAddress, config.rpcPort)
|
||||
var rpcHttpServerWithProxy = newRpcHttpProxy([$ta])
|
||||
var rpcHttpServerWithProxy = newRpcHttpProxy([ta])
|
||||
rpcHttpServerWithProxy.installEthApiHandlers()
|
||||
# TODO for now we can only proxy to local node (or remote one without ssl) to make it possible
|
||||
# to call infura https://github.com/status-im/nim-json-rpc/pull/101 needs to get merged for http client to support https/
|
||||
|
|
Loading…
Reference in New Issue