diff options
author | zelig <viktor.tron@gmail.com> | 2015-07-03 05:58:00 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-07-03 10:19:32 +0800 |
commit | fc17a527bc2bd07fc30e16d161059a441042d5f1 (patch) | |
tree | 9a3c5b52c16043f61c1ddf73311ae50a2061a039 /cmd | |
parent | a4df9d74eabb3bef8449744c4fe966572586dc39 (diff) | |
download | go-tangerine-fc17a527bc2bd07fc30e16d161059a441042d5f1.tar.gz go-tangerine-fc17a527bc2bd07fc30e16d161059a441042d5f1.tar.zst go-tangerine-fc17a527bc2bd07fc30e16d161059a441042d5f1.zip |
fix account ordering
* chronological order of creation
* new naming scheme keystore/UTC--<created_at UTC ISO8601>-<address hex>
* KeyStore2 -> KeyStore
* backward compatibility
* refactor keyStore methods
Diffstat (limited to 'cmd')
-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 61e85d399..480f77c91 100644 --- a/cmd/geth/js_test.go +++ b/cmd/geth/js_test.go @@ -9,7 +9,6 @@ import ( "runtime" "strconv" "testing" - "time" "github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/common" @@ -128,6 +127,7 @@ func TestNodeInfo(t *testing.T) { } defer ethereum.Stop() defer os.RemoveAll(tmp) + want := `{"DiscPort":0,"IP":"0.0.0.0","ListenAddr":"","Name":"test","NodeID":"4cb2fc32924e94277bf94b5e4c983beedb2eabd5a0bc941db32202735c6625d020ca14a5963d1738af43b6ac0a711d61b1a06de931a499fe2aa0b1a132a902b5","NodeUrl":"enode://4cb2fc32924e94277bf94b5e4c983beedb2eabd5a0bc941db32202735c6625d020ca14a5963d1738af43b6ac0a711d61b1a06de931a499fe2aa0b1a132a902b5@0.0.0.0:0","TCPPort":0,"Td":"131072"}` checkEvalJSON(t, repl, `admin.nodeInfo`, want) } |