mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 20:42:13 +00:00
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
|
||||
|
||||
import
|
||||
# Standard library
|
||||
std/os,
|
||||
# Status libraries
|
||||
chronicles,
|
||||
eth/db/kvstore_sqlite3,
|
||||
|
@ -290,7 +290,7 @@ proc keyboardCreatePassword(prompt: string,
|
||||
"brute-force with automated tools. Please increase the " &
|
||||
"variety of the user characters."
|
||||
continue
|
||||
elif password in mostCommonPasswords:
|
||||
elif cstring(password) in mostCommonPasswords:
|
||||
echoP "The entered password is too commonly used and it would be " &
|
||||
"easy to brute-force with automated tools."
|
||||
echo ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
import
|
||||
std/os,
|
||||
nimcrypto/utils, confutils, eth/keys,
|
||||
confutils, eth/keys,
|
||||
../beacon_chain/validators/keystore_management,
|
||||
../beacon_chain/spec/[keystore, crypto],
|
||||
../beacon_chain/conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user