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

View File

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