Skip to content

Commit cd47db8

Browse files
committed
clique: remove unused import
1 parent f242e52 commit cd47db8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

consensus/clique/clique.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

4545
const (
@@ -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.
669669
func 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,

0 commit comments

Comments
 (0)