New nim compat
This commit is contained in:
parent
9e1be6438e
commit
0a247a58f3
|
@ -297,7 +297,7 @@ proc processRpcArguments(key, value: string): ConfigStatus =
|
||||||
let config = getConfiguration()
|
let config = getConfiguration()
|
||||||
let skey = key.toLowerAscii()
|
let skey = key.toLowerAscii()
|
||||||
if skey == "rpc":
|
if skey == "rpc":
|
||||||
config.rpc.flags.incl(Enabled)
|
config.rpc.flags.incl(RpcFlags.Enabled)
|
||||||
elif skey == "rpcbind":
|
elif skey == "rpcbind":
|
||||||
config.rpc.binds.setLen(0)
|
config.rpc.binds.setLen(0)
|
||||||
result = processAddressPortsList(value, config.rpc.binds)
|
result = processAddressPortsList(value, config.rpc.binds)
|
||||||
|
|
Loading…
Reference in New Issue