Skip to content

Commit

Permalink
Fix incorrect use of blacklist variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lyfsn committed Jul 5, 2024
1 parent f8b33d1 commit f3c8fc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/agents/relayer/src/msg/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ impl ProcessorExt for MessageProcessor {
}

// Skip if the message is blacklisted
if self.message_whitelist.msg_matches(&msg, false) {
debug!(?msg, blacklist=?self.message_whitelist, "Message blacklisted, skipping");
if self.message_blacklist.msg_matches(&msg, false) {
debug!(?msg, blacklist=?self.message_blacklist, "Message blacklisted, skipping");
return Ok(());
}

Expand Down

0 comments on commit f3c8fc3

Please sign in to comment.