From 621112778511470bcbd138ad09e28de14a3dc3fb Mon Sep 17 00:00:00 2001 From: Greg Martin Date: Fri, 5 Jan 2024 17:45:59 +0000 Subject: [PATCH] Fix merge --- src/inscriptions/envelope.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/inscriptions/envelope.rs b/src/inscriptions/envelope.rs index fa3e5e1df3..76836f7733 100644 --- a/src/inscriptions/envelope.rs +++ b/src/inscriptions/envelope.rs @@ -89,17 +89,10 @@ impl From for ParsedEnvelope { } impl ParsedEnvelope { - pub(crate) fn from_transaction(transaction: &Transaction, filter: Option) -> Vec { + pub(crate) fn from_transaction(transaction: &Transaction) -> Vec { RawEnvelope::from_transaction(transaction) .into_iter() .map(|envelope| envelope.into()) - .filter(|envelope: &ParsedEnvelope| match &filter { - Some(filter) => match envelope.payload.metaprotocol.clone() { - Some(metaprotocol) => metaprotocol.to_vec().starts_with(filter.as_bytes()), - None => false, - } - None => true, - }) .collect() } }