aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/accounts_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-08 08:52:49 +0800
committerFelix Lange <fjl@twurst.com>2015-03-08 08:58:35 +0800
commitfb53a9362e1238d8edb466d77427dc3cbb13eb20 (patch)
tree8ed3fbda85d4a62fe8225190493b14014e7b947f /accounts/accounts_test.go
parent3750ec7b7de04d8482b798e73f04637ea9e1ca89 (diff)
downloaddexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar
dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.gz
dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.bz2
dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.lz
dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.xz
dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.zst
dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.zip
accounts: AccountManager -> Manager
Diffstat (limited to 'accounts/accounts_test.go')
-rw-r--r--accounts/accounts_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/accounts_test.go b/accounts/accounts_test.go
index 30e0b011a..b90da2892 100644
--- a/accounts/accounts_test.go
+++ b/accounts/accounts_test.go
@@ -12,7 +12,7 @@ import (
func TestAccountManager(t *testing.T) {
ks := crypto.NewKeyStorePlain(ethutil.DefaultDataDir() + "/testaccounts")
- am := NewAccountManager(ks, 100*time.Millisecond)
+ am := NewManager(ks, 100*time.Millisecond)
pass := "" // not used but required by API
a1, err := am.NewAccount(pass)
toSign := randentropy.GetEntropyCSPRNG(32)
@@ -38,7 +38,7 @@ func TestAccountManager(t *testing.T) {
func TestAccountManagerLocking(t *testing.T) {
ks := crypto.NewKeyStorePassphrase(ethutil.DefaultDataDir() + "/testaccounts")
- am := NewAccountManager(ks, 200*time.Millisecond)
+ am := NewManager(ks, 200*time.Millisecond)
pass := "foo"
a1, err := am.NewAccount(pass)
toSign := randentropy.GetEntropyCSPRNG(32)