Validate signature in Tx queue (#1068)

* moving deps to ethcore/hyper and bumping jsonrpc-http-server version

* Validate signature in tx queue
This commit is contained in:
Arkadiy Paronyan 2016-05-10 12:43:26 +02:00 committed by Gav Wood
parent 80e48f3672
commit ab288268bc
1 changed files with 2 additions and 1 deletions

View File

@ -442,6 +442,8 @@ impl TransactionQueue {
}));
}
try!(tx.check_low_s());
if tx.gas > self.gas_limit {
trace!(target: "miner",
"Dropping transaction above gas limit: {:?} ({} > {})",
@ -655,7 +657,6 @@ impl TransactionQueue {
return Err(TransactionError::AlreadyImported);
}
let address = tx.sender();
let nonce = tx.nonce();