aboutsummaryrefslogtreecommitdiffstats
path: root/chain/dagger.go
diff options
context:
space:
mode:
Diffstat (limited to 'chain/dagger.go')
-rw-r--r--chain/dagger.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/chain/dagger.go b/chain/dagger.go
index bb6b136f6..66fbbcde4 100644
--- a/chain/dagger.go
+++ b/chain/dagger.go
@@ -6,7 +6,7 @@ import (
"math/rand"
"time"
- "github.com/ethereum/go-ethereum/ethcrypto"
+ "github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethlog"
"github.com/ethereum/go-ethereum/ethutil"
"github.com/obscuren/sha3"
@@ -60,7 +60,7 @@ func (pow *EasyPow) Search(block *Block, stop <-chan struct{}) []byte {
t = time.Now()
}
- sha := ethcrypto.Sha3(big.NewInt(r.Int63()).Bytes())
+ sha := crypto.Sha3(big.NewInt(r.Int63()).Bytes())
if pow.Verify(hash, diff, sha) {
return sha
}