From baa12237369e40e065c5b97773b24f64873dfecf Mon Sep 17 00:00:00 2001 From: Arkadiy Paronyan Date: Tue, 7 Nov 2017 09:21:30 +0100 Subject: [PATCH] Skip nonce check for gas estimation (#6997) --- ethcore/src/client/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcore/src/client/client.rs b/ethcore/src/client/client.rs index 1b954b347..785d9782f 100644 --- a/ethcore/src/client/client.rs +++ b/ethcore/src/client/client.rs @@ -1241,7 +1241,7 @@ impl BlockChainClient for Client { // that's just a copy of the state. let original_state = self.state_at(block).ok_or(CallError::StatePruned)?; let sender = t.sender(); - let options = || TransactOptions::with_tracing(); + let options = || TransactOptions::with_tracing().dont_check_nonce(); let cond = |gas| { let mut tx = t.as_unsigned().clone();