Skip to content

Commit

Permalink
fixes: correctly call get filter changes (a16z#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
18aaddy authored Oct 31, 2024
1 parent 14ffef0 commit 664745e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ impl<N: NetworkSpec, C: Consensus<N::TransactionResponse>> Client<N, C> {
self.node.get_logs(filter).await
}

pub async fn get_filter_changes(&self, filter_id: U256) -> Result<bool> {
self.node.uninstall_filter(filter_id).await
pub async fn get_filter_changes(&self, filter_id: U256) -> Result<Vec<Log>> {
self.node.get_filter_changes(filter_id).await
}

pub async fn uninstall_filter(&self, filter_id: U256) -> Result<bool> {
Expand Down

0 comments on commit 664745e

Please sign in to comment.