From 8ed8652296d549e6812b2b3d7299d5c8893d13f4 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 21 Mar 2016 11:53:52 +0100 Subject: [PATCH] Reuse should_Trace. --- ethcore/src/executive.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcore/src/executive.rs b/ethcore/src/executive.rs index 8c34b8e39..a7bdb6a55 100644 --- a/ethcore/src/executive.rs +++ b/ethcore/src/executive.rs @@ -261,7 +261,7 @@ impl<'a> Executive<'a> { if params.code.is_some() { // part of substate that may be reverted - let mut unconfirmed_substate = Substate::new(substate.subtraces.is_some()); + let mut unconfirmed_substate = Substate::new(should_trace); let res = { self.exec_vm(params, &mut unconfirmed_substate, OutputPolicy::Return(output, trace_output.as_mut()))