From 9774f934d27ad176a5e8bc560936b24bc1267874 Mon Sep 17 00:00:00 2001 From: Elizabeth Engelman Date: Wed, 13 Feb 2019 09:01:31 -0600 Subject: [PATCH] Apply go fmt changes --- core/blockchain_test.go | 2 +- statediff/testhelpers/test_data.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 {