core, evm: lint nits

This commit is contained in:
Martin Holst Swende 2019-05-21 14:31:01 +02:00 committed by Péter Szilágyi
parent a9ddecbf00
commit 419b4240b4
No known key found for this signature in database
GPG key ID: E9AE538CEDF8293D
2 changed files with 2 additions and 2 deletions

View file

@ -209,7 +209,7 @@ func runCmd(ctx *cli.Context) error {
if ctx.GlobalBool(DumpFlag.Name) {
statedb.Commit(true)
statedb.IntermediateRoot(true)
fmt.Println(string(statedb.Dump(false, false)))
fmt.Println(string(statedb.Dump(false, false, true)))
}
if memProfilePath := ctx.GlobalString(MemProfileFlag.Name); memProfilePath != "" {

View file

@ -19,9 +19,9 @@ package state
import (
"encoding/json"
"fmt"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/rlp"
"github.com/ethereum/go-ethereum/trie"