diff --git a/rpc-client-api/src/filter.rs b/rpc-client-api/src/filter.rs index 368d7ce7d7f855..9af8cc0784c1ff 100644 --- a/rpc-client-api/src/filter.rs +++ b/rpc-client-api/src/filter.rs @@ -79,7 +79,10 @@ impl RpcFilterType { } } - #[deprecated = "Use solana_rpc::filter::filter_allows instead"] + #[deprecated( + since = "2.0.0", + note = "Use solana_rpc::filter::filter_allows instead" + )] pub fn allows(&self, account: &AccountSharedData) -> bool { match self { RpcFilterType::DataSize(size) => account.data().len() as u64 == *size,