Removing allow dead_code

This commit is contained in:
Tomasz Drwięga 2016-03-18 10:22:00 +01:00 committed by arkpar
parent f4df9c8dfd
commit 5aed421fa3

View File

@ -306,8 +306,6 @@ impl TransactionQueue {
self.minimal_gas_price = min_gas_price;
}
// Will be used when rpc merged
#[allow(dead_code)]
/// Returns current status for this queue
pub fn status(&self) -> TransactionQueueStatus {
TransactionQueueStatus {
@ -456,8 +454,6 @@ impl TransactionQueue {
self.future.enforce_limit(&mut self.by_hash);
}
// Will be used when mining merged
#[allow(dead_code)]
/// Returns top transactions from the queue ordered by priority.
pub fn top_transactions(&self) -> Vec<SignedTransaction> {
self.current.by_priority