aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/accounts_test.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-07-03 05:58:00 +0800
committerzelig <viktor.tron@gmail.com>2015-07-03 10:19:32 +0800
commitfc17a527bc2bd07fc30e16d161059a441042d5f1 (patch)
tree9a3c5b52c16043f61c1ddf73311ae50a2061a039 /accounts/accounts_test.go
parenta4df9d74eabb3bef8449744c4fe966572586dc39 (diff)
downloaddexon-fc17a527bc2bd07fc30e16d161059a441042d5f1.tar.gz
dexon-fc17a527bc2bd07fc30e16d161059a441042d5f1.tar.zst
dexon-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 'accounts/accounts_test.go')
-rw-r--r--accounts/accounts_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/accounts/accounts_test.go b/accounts/accounts_test.go
index 8bd70880c..4b94b78fd 100644
--- a/accounts/accounts_test.go
+++ b/accounts/accounts_test.go
@@ -98,10 +98,11 @@ func TestOverrideUnlock(t *testing.T) {
if err != ErrLocked {
t.Fatal("Signing should've failed with ErrLocked timeout expired, got ", err)
}
-
}
-func tmpKeyStore(t *testing.T, new func(string) crypto.KeyStore2) (string, crypto.KeyStore2) {
+//
+
+func tmpKeyStore(t *testing.T, new func(string) crypto.KeyStore) (string, crypto.KeyStore) {
d, err := ioutil.TempDir("", "eth-keystore-test")
if err != nil {
t.Fatal(err)