put doAssert(false) at nimbus configuration cmdEnd

This commit is contained in:
andri lim 2019-03-19 08:55:30 +07:00
parent 3f62d6638b
commit 6c891d08e6
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 1 additions and 3 deletions

View File

@ -632,9 +632,7 @@ proc processArguments*(msg: var string): ConfigStatus =
checkArgument processNetArguments, key, value, msg
checkArgument processDebugArguments, key, value, msg
of cmdEnd:
msg = "Error processing option [" & key & "]"
result = ErrorParseOption
break
doAssert(false)
if config.net.bootNodes.len == 0:
# No custom bootnodes were specified on the command line, restore to