From 419b4240b4174aae0f4e46ac9bb74e9c3443197d Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Tue, 21 May 2019 14:31:01 +0200 Subject: [PATCH] core, evm: lint nits --- cmd/evm/runner.go | 2 +- core/state/dump.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/evm/runner.go b/cmd/evm/runner.go index 14634c2abe..08f36dadc6 100644 --- a/cmd/evm/runner.go +++ b/cmd/evm/runner.go @@ -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 != "" { diff --git a/core/state/dump.go b/core/state/dump.go index 1d38f87c04..4a8e813d69 100644 --- a/core/state/dump.go +++ b/core/state/dump.go @@ -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"