diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-08 07:18:13 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-08 07:18:13 +0800 |
commit | fda7b4c79d070f1cb4f5d7ef5b4d077d9dcf2774 (patch) | |
tree | a553908665c48fca0263f4c8c1b3ef8d3ed7e071 /accounts/accounts_test.go | |
parent | a2810c06d7cfc64e1636fe4ecfd5e35cc52b0d2b (diff) | |
download | dexon-fda7b4c79d070f1cb4f5d7ef5b4d077d9dcf2774.tar.gz dexon-fda7b4c79d070f1cb4f5d7ef5b4d077d9dcf2774.tar.zst dexon-fda7b4c79d070f1cb4f5d7ef5b4d077d9dcf2774.zip |
accounts: use pointers consistently
Account is now always a non-pointer. This will be important once
the manager starts remembering accounts.
AccountManager is now always a pointer because it contains locks
and locks cannot be copied.
Diffstat (limited to 'accounts/accounts_test.go')
-rw-r--r-- | accounts/accounts_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accounts/accounts_test.go b/accounts/accounts_test.go index 44d1d72f1..d8187220a 100644 --- a/accounts/accounts_test.go +++ b/accounts/accounts_test.go @@ -3,10 +3,11 @@ package accounts import ( "testing" + "time" + "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto/randentropy" "github.com/ethereum/go-ethereum/ethutil" - "time" ) func TestAccountManager(t *testing.T) { |