diff options
author | zelig <viktor.tron@gmail.com> | 2015-06-18 23:20:00 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-07-03 06:28:11 +0800 |
commit | fc2e33c594449e38b90bad2bd7b5c50f03b7f69d (patch) | |
tree | 8cd8fbf8f0ecb93234b2fb47df30e5e1b78d5173 /cmd/geth/js_test.go | |
parent | 1d72aaa0cd3a94e95c892a8b8b88a8a1ef59847e (diff) | |
download | go-tangerine-fc2e33c594449e38b90bad2bd7b5c50f03b7f69d.tar.gz go-tangerine-fc2e33c594449e38b90bad2bd7b5c50f03b7f69d.tar.zst go-tangerine-fc2e33c594449e38b90bad2bd7b5c50f03b7f69d.zip |
unlock multiple passes and obsolete primary
* multiple passwords allowed in password file
* split on "\n", sideeffect: chop trailing slashes. fixes common mistake <(echo 'pass')
* remove accounts.Primary method
* do not fall back to primary account for mining
Diffstat (limited to 'cmd/geth/js_test.go')
-rw-r--r-- | cmd/geth/js_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/js_test.go b/cmd/geth/js_test.go index cfbe26bee..fc2444a7b 100644 --- a/cmd/geth/js_test.go +++ b/cmd/geth/js_test.go @@ -140,7 +140,7 @@ func TestAccounts(t *testing.T) { defer os.RemoveAll(tmp) checkEvalJSON(t, repl, `eth.accounts`, `["`+testAddress+`"]`) - checkEvalJSON(t, repl, `eth.coinbase`, `"`+testAddress+`"`) + checkEvalJSON(t, repl, `eth.coinbase`, `"`+common.Address{}.Hex()+`"`) val, err := repl.re.Run(`personal.newAccount("password")`) if err != nil { |