diff --git a/rpc-client-api/src/filter.rs b/rpc-client-api/src/filter.rs index ef7aa12217b535..398bd9807d4396 100644 --- a/rpc-client-api/src/filter.rs +++ b/rpc-client-api/src/filter.rs @@ -280,11 +280,10 @@ impl From for Memcmp { | (RpcMemcmpEncoding::Base58, DataType::Encoded(string)) => { MemcmpEncodedBytes::Base58(string) } - (RpcMemcmpEncoding::Binary, DataType::Raw(vector)) => MemcmpEncodedBytes::Bytes(vector), (RpcMemcmpEncoding::Base64, DataType::Encoded(string)) => { MemcmpEncodedBytes::Base64(string) } - _ => unreachable!(), + (_, DataType::Raw(vector)) => MemcmpEncodedBytes::Bytes(vector), }; Memcmp { offset: memcmp.offset,