fix testing code

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-04-14 11:17:42 +02:00
parent ab56ee7a10
commit 05703857ba
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ pub async fn update_index(mango_client: &MangoClient) -> anyhow::Result<()> {
bytes: MemcmpEncodedBytes::Base58({
// find group belonging to admin
Pubkey::find_program_address(
&["Group1".as_ref(), mango_client.admin.pubkey().as_ref()],
&["Group".as_ref(), mango_client.admin.pubkey().as_ref()],
&mango_client.program.id(),
)
.0