mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
Various fixes
This commit is contained in:
@@ -41,7 +41,7 @@ func PromptForConfigKey() ([]byte, error) {
|
||||
var cryptoKey []byte
|
||||
|
||||
for len(cryptoKey) != 32 {
|
||||
fmt.Println("Enter password (32 characters):")
|
||||
log.Println("Enter password (32 characters):")
|
||||
|
||||
_, err := fmt.Scanln(&cryptoKey)
|
||||
if err != nil {
|
||||
@@ -49,7 +49,7 @@ func PromptForConfigKey() ([]byte, error) {
|
||||
}
|
||||
|
||||
if len(cryptoKey) > 32 || len(cryptoKey) < 32 {
|
||||
fmt.Println("Please re-enter password (32 characters):")
|
||||
log.Println("Please re-enter password (32 characters):")
|
||||
}
|
||||
}
|
||||
nonce := make([]byte, 12)
|
||||
|
||||
Reference in New Issue
Block a user