diff --git a/core/blockchain_test.go b/core/blockchain_test.go index 22b6df734..5379da1a2 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -1883,7 +1883,7 @@ func TestProcessingStateDiffs(t *testing.T) { } } -func containsRootHash(collection []common.Hash, hash common.Hash) bool{ +func containsRootHash(collection []common.Hash, hash common.Hash) bool { for _, n := range collection { if n == hash { return true diff --git a/statediff/testhelpers/test_data.go b/statediff/testhelpers/test_data.go index f7ae64f5a..831bed218 100644 --- a/statediff/testhelpers/test_data.go +++ b/statediff/testhelpers/test_data.go @@ -7,7 +7,6 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/statediff/builder" - "github.com/ethereum/go-ethereum/crypto" ) func AddressToLeafKey(address common.Address) common.Hash {