File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ import (
3333 "github.com/ethereum/go-ethereum/core/state"
3434 "github.com/ethereum/go-ethereum/core/types"
3535 "github.com/ethereum/go-ethereum/crypto"
36- "github.com/ethereum/go-ethereum/crypto/sha3"
3736 "github.com/ethereum/go-ethereum/ethdb"
3837 "github.com/ethereum/go-ethereum/log"
3938 "github.com/ethereum/go-ethereum/params"
4039 "github.com/ethereum/go-ethereum/rlp"
4140 "github.com/ethereum/go-ethereum/rpc"
4241 lru "github.com/hashicorp/golang-lru"
42+ "golang.org/x/crypto/sha3"
4343)
4444
4545const (
@@ -667,7 +667,7 @@ func (c *Clique) SealHash(header *types.Header) common.Hash {
667667
668668// SealHash returns the hash of a block prior to it being sealed.
669669func SealHash (header * types.Header ) (hash common.Hash ) {
670- hasher := sha3 .NewKeccak256 ()
670+ hasher := sha3 .NewLegacyKeccak256 ()
671671 rlp .Encode (hasher , []interface {}{
672672 header .ParentHash ,
673673 header .UncleHash ,
You can’t perform that action at this time.
0 commit comments