Unbreak build on rust -stable (#9934)

This commit is contained in:
Reyk Floeter 2018-11-18 00:51:35 +01:00 committed by Tomasz Drwięga
parent 9475a2e474
commit c0952ba44b
1 changed files with 1 additions and 1 deletions

View File

@ -625,7 +625,7 @@ fn execute_read_only_tx(gas_known: bool, params: ExecuteParams) -> impl Future<I
match res {
Ok(executed) => {
// `OutOfGas` exception, try double the gas
if let Some(vm::Error::OutOfGas) = executed.exception {
if let Some(::vm::Error::OutOfGas) = executed.exception {
// block gas limit already tried, regard as an error and don't retry
if params.tx.gas >= params.hdr.gas_limit() {
trace!(target: "light_fetch", "OutOutGas exception received, gas increase: failed");