Allow dead_code for the transaction::Request for now (mempool)

This commit is contained in:
Deirdre Connolly 2020-10-17 00:21:44 -04:00 committed by Deirdre Connolly
parent eb43893de0
commit e796132057
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ impl From<BoxError> for VerifyTransactionError {
///
/// Transaction verification has slightly different consensus rules, depending on
/// whether the transaction is to be included in a block on in the mempool.
#[allow(dead_code)]
pub enum Request {
/// Verify the supplied transaction as part of a block.
Block(Arc<Transaction>),