Reuse should_Trace.

This commit is contained in:
Gav Wood 2016-03-21 11:53:52 +01:00
parent c4d45e0cf0
commit 8ed8652296

View File

@ -261,7 +261,7 @@ impl<'a> Executive<'a> {
if params.code.is_some() { if params.code.is_some() {
// part of substate that may be reverted // 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 = { let res = {
self.exec_vm(params, &mut unconfirmed_substate, OutputPolicy::Return(output, trace_output.as_mut())) self.exec_vm(params, &mut unconfirmed_substate, OutputPolicy::Return(output, trace_output.as_mut()))