mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
cmd/puppeth: fix unconvert linter error
This commit is contained in:
parent
89aa3e2102
commit
cf0172022a
1 changed files with 1 additions and 2 deletions
|
|
@ -83,8 +83,7 @@ func dial(server string, pubkey []byte) (*sshClient, error) {
|
|||
if err != nil {
|
||||
log.Warn("Couldn't read password", "err", err)
|
||||
}
|
||||
|
||||
key, err := ssh.ParsePrivateKeyWithPassphrase(buf, []byte(blob))
|
||||
key, err := ssh.ParsePrivateKeyWithPassphrase(buf, blob)
|
||||
if err != nil {
|
||||
log.Warn("Failed to decrypt SSH key, falling back to passwords", "path", path, "err", err)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue