New nim compat

This commit is contained in:
Yuriy Glukhov 2018-09-06 13:16:13 +03:00
parent 9e1be6438e
commit 0a247a58f3
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ proc processRpcArguments(key, value: string): ConfigStatus =
let config = getConfiguration()
let skey = key.toLowerAscii()
if skey == "rpc":
config.rpc.flags.incl(Enabled)
config.rpc.flags.incl(RpcFlags.Enabled)
elif skey == "rpcbind":
config.rpc.binds.setLen(0)
result = processAddressPortsList(value, config.rpc.binds)