From 70254b175ebb939c728010aa50e26d3e7e404c77 Mon Sep 17 00:00:00 2001 From: Tyera Date: Fri, 28 Jun 2024 00:02:26 -0600 Subject: [PATCH] Add since field to deprecation note (#1905) Add to deprecation note --- rpc-client-api/src/filter.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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,