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.
This commit is contained in:
Felix Lange
2015-03-08 00:18:13 +01:00
parent a2810c06d7
commit fda7b4c79d
3 changed files with 14 additions and 17 deletions

View File

@ -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) {