Fix typo.

This commit is contained in:
Gav Wood 2016-12-09 20:48:52 +01:00
parent 46af3d18da
commit c82754874c
No known key found for this signature in database
GPG Key ID: C49C1ACA1CC9B252

View File

@ -585,7 +585,7 @@ impl Miner {
let best_block_header: Header = ::rlp::decode(&chain.best_block_header());
transactions.into_iter()
.map(|tx| {
if chain.transaction_block(TransactionID::Hash(tx.hash())).is_some() {
if chain.transaction_block(TransactionId::Hash(tx.hash())).is_some() {
debug!(target: "miner", "Rejected tx {:?}: already in the blockchain", tx.hash());
return Err(Error::Transaction(TransactionError::AlreadyImported));
}