aboutsummaryrefslogtreecommitdiffstats
path: root/chain/genesis.go
diff options
context:
space:
mode:
Diffstat (limited to 'chain/genesis.go')
-rw-r--r--chain/genesis.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/chain/genesis.go b/chain/genesis.go
index 2f3b1919b..3a552f583 100644
--- a/chain/genesis.go
+++ b/chain/genesis.go
@@ -3,7 +3,7 @@ package chain
import (
"math/big"
- "github.com/ethereum/go-ethereum/ethcrypto"
+ "github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethutil"
)
@@ -14,7 +14,7 @@ import (
var ZeroHash256 = make([]byte, 32)
var ZeroHash160 = make([]byte, 20)
var ZeroHash512 = make([]byte, 64)
-var EmptyShaList = ethcrypto.Sha3(ethutil.Encode([]interface{}{}))
+var EmptyShaList = crypto.Sha3(ethutil.Encode([]interface{}{}))
var GenesisHeader = []interface{}{
// Previous hash (none)
@@ -47,7 +47,7 @@ var GenesisHeader = []interface{}{
// Extra
nil,
// Nonce
- ethcrypto.Sha3(big.NewInt(42).Bytes()),
+ crypto.Sha3(big.NewInt(42).Bytes()),
}
var Genesis = []interface{}{GenesisHeader, []interface{}{}, []interface{}{}}