fix some warnings (#3886)
This commit is contained in:
parent
3dc04bc48f
commit
8ebd5a5fe8
|
@ -11,8 +11,6 @@
|
||||||
# protocol. See https://github.com/ethereum/consensus-specs/pull/2802
|
# protocol. See https://github.com/ethereum/consensus-specs/pull/2802
|
||||||
|
|
||||||
import
|
import
|
||||||
# Standard library
|
|
||||||
std/os,
|
|
||||||
# Status libraries
|
# Status libraries
|
||||||
chronicles,
|
chronicles,
|
||||||
eth/db/kvstore_sqlite3,
|
eth/db/kvstore_sqlite3,
|
||||||
|
|
|
@ -290,7 +290,7 @@ proc keyboardCreatePassword(prompt: string,
|
||||||
"brute-force with automated tools. Please increase the " &
|
"brute-force with automated tools. Please increase the " &
|
||||||
"variety of the user characters."
|
"variety of the user characters."
|
||||||
continue
|
continue
|
||||||
elif password in mostCommonPasswords:
|
elif cstring(password) in mostCommonPasswords:
|
||||||
echoP "The entered password is too commonly used and it would be " &
|
echoP "The entered password is too commonly used and it would be " &
|
||||||
"easy to brute-force with automated tools."
|
"easy to brute-force with automated tools."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import
|
import
|
||||||
std/os,
|
std/os,
|
||||||
nimcrypto/utils, confutils, eth/keys,
|
confutils, eth/keys,
|
||||||
../beacon_chain/validators/keystore_management,
|
../beacon_chain/validators/keystore_management,
|
||||||
../beacon_chain/spec/[keystore, crypto],
|
../beacon_chain/spec/[keystore, crypto],
|
||||||
../beacon_chain/conf
|
../beacon_chain/conf
|
||||||
|
|
Loading…
Reference in New Issue