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:
parent
80e48f3672
commit
ab288268bc
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user