diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-20 21:01:34 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-20 21:01:34 +0800 |
commit | 5c975dd4ed7adb29453fa28e64c0193d323cae99 (patch) | |
tree | 2e35677007d26663200c27831301e265a6f07b36 /accounts/accounts_test.go | |
parent | d8ac267f4128117c3fb9736a40f3dbc327582e32 (diff) | |
parent | 63031f571a3ad4bfd7ef60577a588d63ec18b0b4 (diff) | |
download | go-tangerine-5c975dd4ed7adb29453fa28e64c0193d323cae99.tar go-tangerine-5c975dd4ed7adb29453fa28e64c0193d323cae99.tar.gz go-tangerine-5c975dd4ed7adb29453fa28e64c0193d323cae99.tar.bz2 go-tangerine-5c975dd4ed7adb29453fa28e64c0193d323cae99.tar.lz go-tangerine-5c975dd4ed7adb29453fa28e64c0193d323cae99.tar.xz go-tangerine-5c975dd4ed7adb29453fa28e64c0193d323cae99.tar.zst go-tangerine-5c975dd4ed7adb29453fa28e64c0193d323cae99.zip |
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Diffstat (limited to 'accounts/accounts_test.go')
-rw-r--r-- | accounts/accounts_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/accounts/accounts_test.go b/accounts/accounts_test.go index da9406ebe..30e8c6285 100644 --- a/accounts/accounts_test.go +++ b/accounts/accounts_test.go @@ -1,8 +1,10 @@ package accounts import ( - "github.com/ethereum/go-ethereum/crypto" "testing" + + "github.com/ethereum/go-ethereum/crypto" + "github.com/ethereum/go-ethereum/crypto/randentropy" ) func TestAccountManager(t *testing.T) { @@ -10,7 +12,7 @@ func TestAccountManager(t *testing.T) { am := NewAccountManager(ks) pass := "" // not used but required by API a1, err := am.NewAccount(pass) - toSign := crypto.GetEntropyCSPRNG(32) + toSign := randentropy.GetEntropyCSPRNG(32) _, err = am.Sign(a1, pass, toSign) if err != nil { t.Fatal(err) |