Unbreak build on rust -stable (#9934)
This commit is contained in:
parent
9475a2e474
commit
c0952ba44b
@ -625,7 +625,7 @@ fn execute_read_only_tx(gas_known: bool, params: ExecuteParams) -> impl Future<I
|
|||||||
match res {
|
match res {
|
||||||
Ok(executed) => {
|
Ok(executed) => {
|
||||||
// `OutOfGas` exception, try double the gas
|
// `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
|
// block gas limit already tried, regard as an error and don't retry
|
||||||
if params.tx.gas >= params.hdr.gas_limit() {
|
if params.tx.gas >= params.hdr.gas_limit() {
|
||||||
trace!(target: "light_fetch", "OutOutGas exception received, gas increase: failed");
|
trace!(target: "light_fetch", "OutOutGas exception received, gas increase: failed");
|
||||||
|
Loading…
Reference in New Issue
Block a user