Fixup filter deprecated since (#21123)

This commit is contained in:
Tyera Eulberg 2021-11-01 19:06:38 -06:00 committed by GitHub
parent fc3b1bc62f
commit 1b47f7f2cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -77,13 +77,13 @@ pub enum RpcFilterError {
#[error("encoded binary data should be less than 129 bytes")]
DataTooLarge,
#[deprecated(
since = "1.9.0",
since = "1.8.1",
note = "Error for MemcmpEncodedBytes::Binary which is deprecated"
)]
#[error("encoded binary (base 58) data should be less than 129 bytes")]
Base58DataTooLarge,
#[deprecated(
since = "1.9.0",
since = "1.8.1",
note = "Error for MemcmpEncodedBytes::Binary which is deprecated"
)]
#[error("bs58 decode error")]
@ -104,7 +104,7 @@ pub enum MemcmpEncoding {
#[serde(rename_all = "camelCase", untagged)]
pub enum MemcmpEncodedBytes {
#[deprecated(
since = "1.9.0",
since = "1.8.1",
note = "Please use MemcmpEncodedBytes::Base58 instead"
)]
Binary(String),