Apply go fmt changes
This commit is contained in:
parent
9ec5d29256
commit
9774f934d2
@ -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 {
|
for _, n := range collection {
|
||||||
if n == hash {
|
if n == hash {
|
||||||
return true
|
return true
|
||||||
|
@ -7,7 +7,6 @@ import (
|
|||||||
"github.com/ethereum/go-ethereum/common"
|
"github.com/ethereum/go-ethereum/common"
|
||||||
"github.com/ethereum/go-ethereum/crypto"
|
"github.com/ethereum/go-ethereum/crypto"
|
||||||
"github.com/ethereum/go-ethereum/statediff/builder"
|
"github.com/ethereum/go-ethereum/statediff/builder"
|
||||||
"github.com/ethereum/go-ethereum/crypto"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func AddressToLeafKey(address common.Address) common.Hash {
|
func AddressToLeafKey(address common.Address) common.Hash {
|
||||||
|
Loading…
Reference in New Issue
Block a user