From 85465fc0b11aca2e18696ba305853bd41301928b 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 f3f06438f..22e727ff0 100644 --- a/ethcore/src/client/client.rs +++ b/ethcore/src/client/client.rs @@ -1242,7 +1242,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();