From 935d891e9db870edde6b37ad84bb21d7df19c383 Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Sun, 22 Jan 2017 22:14:09 +0100 Subject: [PATCH] cmd/evm: added debug flag (back) (#3554) * evm: added debug flag (back) * cmd/evm: gofmt --- cmd/evm/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/evm/main.go b/cmd/evm/main.go index 035cf1c545..9f67e66286 100644 --- a/cmd/evm/main.go +++ b/cmd/evm/main.go @@ -161,6 +161,7 @@ func run(ctx *cli.Context) error { Value: common.Big(ctx.GlobalString(ValueFlag.Name)), EVMConfig: vm.Config{ Tracer: logger, + Debug: ctx.GlobalBool(DebugFlag.Name), DisableGasMetering: ctx.GlobalBool(DisableGasMeteringFlag.Name), }, }) @@ -176,6 +177,7 @@ func run(ctx *cli.Context) error { Value: common.Big(ctx.GlobalString(ValueFlag.Name)), EVMConfig: vm.Config{ Tracer: logger, + Debug: ctx.GlobalBool(DebugFlag.Name), DisableGasMetering: ctx.GlobalBool(DisableGasMeteringFlag.Name), }, })