Skip to content

Commit

Permalink
fix program filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Patel committed Feb 28, 2022
1 parent 8f39e68 commit f3cf7e4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "solana-accountsdb-plugin-kafka"
description = "Solana AccountsDb plugin for Kafka"
authors = ["Blockdaemon"]
version = "0.1.1"
version = "0.1.2"
edition = "2021"
repository = "https://github.com/Blockdaemon/solana-accountsdb-plugin-kafka"
license = "Apache-2.0"
Expand Down
12 changes: 0 additions & 12 deletions example-config.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl AccountsDbPlugin for KafkaPlugin {
}

let info = Self::unwrap_update_account(account);
if !self.unwrap_filter().wants_program(info.pubkey) {
if !self.unwrap_filter().wants_program(info.owner) {
return Ok(());
}

Expand Down

0 comments on commit f3cf7e4

Please sign in to comment.