diff --git a/ethcore/src/miner/transaction_queue.rs b/ethcore/src/miner/transaction_queue.rs index a13fc01c4..1c8a3d17d 100644 --- a/ethcore/src/miner/transaction_queue.rs +++ b/ethcore/src/miner/transaction_queue.rs @@ -984,7 +984,7 @@ impl TransactionQueue { let mut delayed = HashSet::new(); for t in self.current.by_priority.iter() { let tx = self.by_hash.get(&t.hash).expect("All transactions in `current` and `future` are always included in `by_hash`"); - let sender = tx.transaction.sender().expect("Queue only contains transactions with valid sender"); + let sender = tx.sender(); if delayed.contains(&sender) { continue; } diff --git a/ethcore/src/types/transaction.rs b/ethcore/src/types/transaction.rs index 681e38fcc..25e91afe5 100644 --- a/ethcore/src/types/transaction.rs +++ b/ethcore/src/types/transaction.rs @@ -390,7 +390,7 @@ impl Deref for LocalizedTransaction { } } -/// Queued information with additional information. +/// Queued transaction with additional information. #[derive(Debug, Clone, PartialEq, Eq, Binary)] pub struct PendingTransaction { /// Signed transaction data.