From f091ca0d81fff7c75b36ad1ad56dad502104d6ff Mon Sep 17 00:00:00 2001 From: tmcgroul Date: Sat, 18 Mar 2023 19:41:15 +0300 Subject: [PATCH] fix tx filtering --- worker/src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/src/types.rs b/worker/src/types.rs index fa4e6f8..d330207 100644 --- a/worker/src/types.rs +++ b/worker/src/types.rs @@ -169,7 +169,7 @@ impl MiniTransactionSelection { filters.iter().any(|selection| { let match_all_addr = selection.source.is_empty() && selection.dest.is_empty(); let matches_addr = - match_all_addr || selection.matches_dest(dest) || selection.matches_source(source); + match_all_addr || selection.matches_dest(dest) && selection.matches_source(source); matches_addr && selection.matches_sighash(sighash) && selection.matches_status(&status) })