diff options
author | Felix Lange <fjl@twurst.com> | 2016-03-31 04:58:08 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-04-12 21:59:17 +0800 |
commit | aca9d6a1fb4c2b01d1b8f6e1bf165a39d4b9ac8e (patch) | |
tree | 89a544304580569eb019608606359ba7a1166ebb /cmd/geth/accountcmd_test.go | |
parent | 549f1add296ccfb76d5038316acb4d7c3935221a (diff) | |
download | go-tangerine-aca9d6a1fb4c2b01d1b8f6e1bf165a39d4b9ac8e.tar go-tangerine-aca9d6a1fb4c2b01d1b8f6e1bf165a39d4b9ac8e.tar.gz go-tangerine-aca9d6a1fb4c2b01d1b8f6e1bf165a39d4b9ac8e.tar.bz2 go-tangerine-aca9d6a1fb4c2b01d1b8f6e1bf165a39d4b9ac8e.tar.lz go-tangerine-aca9d6a1fb4c2b01d1b8f6e1bf165a39d4b9ac8e.tar.xz go-tangerine-aca9d6a1fb4c2b01d1b8f6e1bf165a39d4b9ac8e.tar.zst go-tangerine-aca9d6a1fb4c2b01d1b8f6e1bf165a39d4b9ac8e.zip |
cmd/geth: print actual error when --unlock fails
Diffstat (limited to 'cmd/geth/accountcmd_test.go')
-rw-r--r-- | cmd/geth/accountcmd_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/geth/accountcmd_test.go b/cmd/geth/accountcmd_test.go index fa3f73843..440a0cb0b 100644 --- a/cmd/geth/accountcmd_test.go +++ b/cmd/geth/accountcmd_test.go @@ -168,7 +168,7 @@ Unlocking account f466859ead1932d743d622cb74fc058882e8648a | Attempt 2/3 Passphrase: {{.InputLine "wrong2"}} Unlocking account f466859ead1932d743d622cb74fc058882e8648a | Attempt 3/3 Passphrase: {{.InputLine "wrong3"}} -Fatal: Failed to unlock account: f466859ead1932d743d622cb74fc058882e8648a +Fatal: Failed to unlock account f466859ead1932d743d622cb74fc058882e8648a (could not decrypt key with given passphrase) `) } @@ -225,6 +225,6 @@ func TestUnlockFlagPasswordFileWrongPassword(t *testing.T) { "--password", "testdata/wrong-passwords.txt", "--unlock", "0,2") defer geth.expectExit() geth.expect(` -Fatal: Failed to unlock account: 0 +Fatal: Failed to unlock account 0 (could not decrypt key with given passphrase) `) } |