Merge pull request #137 from status-im/new-nim-compat

New nim compat
This commit is contained in:
coffeepots 2018-09-06 11:42:15 +01:00 committed by GitHub
commit 4a9b1a4a1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 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)