Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
fix tx filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcgroul committed Mar 18, 2023
1 parent c6d6b75 commit f091ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit f091ca0

Please sign in to comment.