Fix a bug in evmbin initial_gas display (#9457)

This commit is contained in:
Wei Tang 2018-09-04 16:33:14 +08:00 committed by GitHub
parent 1f2426226b
commit da5ba4ccc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ pub fn run_transaction<T: Informant>(
informant.set_gas(env_info.gas_limit);
let result = run(&spec, env_info.gas_limit, pre_state, |mut client| {
let result = run(&spec, transaction.gas, pre_state, |mut client| {
let result = client.transact(env_info, transaction, trace::NoopTracer, informant);
match result {
TransactResult::Ok { state_root, gas_left, .. } if state_root != post_root => {