fix warnings
This commit is contained in:
parent
9416c28f76
commit
d79b2835aa
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -206,7 +206,7 @@ impl PreviousTransactionOutputProvider for EmptyTransactionOutputProvider {
|
|||
None
|
||||
}
|
||||
|
||||
fn is_spent(&self, prevout: &OutPoint) -> bool {
|
||||
fn is_spent(&self, _prevout: &OutPoint) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue