From fca9836a2c8e18fc7e3595287484e9acd60a8f64 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 20 Oct 2021 22:27:57 -0700 Subject: [PATCH] Avoid MemcmpEncodedBytes::Binary --- stake-pool/cli/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stake-pool/cli/src/client.rs b/stake-pool/cli/src/client.rs index 40d6cb89014..8fb0aa8b04a 100644 --- a/stake-pool/cli/src/client.rs +++ b/stake-pool/cli/src/client.rs @@ -83,7 +83,7 @@ pub(crate) fn get_stake_pools( RpcProgramAccountsConfig { filters: Some(vec![RpcFilterType::Memcmp(Memcmp { offset: 0, // 0 is the account type - bytes: MemcmpEncodedBytes::Binary("2".to_string()), + bytes: MemcmpEncodedBytes::Base58("2".to_string()), encoding: None, })]), account_config: RpcAccountInfoConfig {