diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-02-20 20:00:10 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-02-20 20:00:10 +0800 |
commit | 63031f571a3ad4bfd7ef60577a588d63ec18b0b4 (patch) | |
tree | d78aea141c4a67198e075ab40a30278d2ec30913 /accounts/accounts_test.go | |
parent | 982f73fa6d6f12874729faacd0db14fc78d518dd (diff) | |
parent | 3b12a9293c35fd336122d9387ab6bc9b67d2803a (diff) | |
download | go-tangerine-63031f571a3ad4bfd7ef60577a588d63ec18b0b4.tar go-tangerine-63031f571a3ad4bfd7ef60577a588d63ec18b0b4.tar.gz go-tangerine-63031f571a3ad4bfd7ef60577a588d63ec18b0b4.tar.bz2 go-tangerine-63031f571a3ad4bfd7ef60577a588d63ec18b0b4.tar.lz go-tangerine-63031f571a3ad4bfd7ef60577a588d63ec18b0b4.tar.xz go-tangerine-63031f571a3ad4bfd7ef60577a588d63ec18b0b4.tar.zst go-tangerine-63031f571a3ad4bfd7ef60577a588d63ec18b0b4.zip |
Merge pull request #355 from fjl/test-fixes
Fix failing tests and speed up Travis builds
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) |