mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
ensure logs are printed from mutated state. not prestate.
This commit is contained in:
parent
1ba590bd56
commit
0ac7ff025f
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ func runCmd(ctx *cli.Context) error {
|
||||||
logger.WriteTrace(os.Stderr, debugLogger.StructLogs())
|
logger.WriteTrace(os.Stderr, debugLogger.StructLogs())
|
||||||
}
|
}
|
||||||
fmt.Fprintln(os.Stderr, "#### LOGS ####")
|
fmt.Fprintln(os.Stderr, "#### LOGS ####")
|
||||||
logger.WriteLogs(os.Stderr, prestate.Logs())
|
logger.WriteLogs(os.Stderr, runtimeConfig.State.Logs())
|
||||||
}
|
}
|
||||||
|
|
||||||
if bench || ctx.Bool(StatDumpFlag.Name) {
|
if bench || ctx.Bool(StatDumpFlag.Name) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue