fix warnings

This commit is contained in:
NikVolf 2016-11-30 19:21:21 +03:00
parent 9416c28f76
commit d79b2835aa
2 changed files with 2 additions and 3 deletions

View File

@ -15,7 +15,6 @@ use std::collections::HashSet;
use std::collections::BTreeSet;
use ser::{Serializable, serialize};
use heapsize::HeapSizeOf;
use db::TransactionMetaProvider;
/// Transactions ordering strategy
#[cfg_attr(feature="cargo-clippy", allow(enum_variant_names))]
@ -713,7 +712,7 @@ impl PreviousTransactionOutputProvider for MemoryPool {
.cloned()
}
fn is_spent(&self, prevout: &OutPoint) -> bool {
fn is_spent(&self, _prevout: &OutPoint) -> bool {
false
}
}

View File

@ -206,7 +206,7 @@ impl PreviousTransactionOutputProvider for EmptyTransactionOutputProvider {
None
}
fn is_spent(&self, prevout: &OutPoint) -> bool {
fn is_spent(&self, _prevout: &OutPoint) -> bool {
false
}
}