client: Fix seeds for create_account() (#635)

This commit is contained in:
Christian Kamm 2023-07-07 17:20:03 +02:00 committed by GitHub
parent 30cb4d7753
commit 5a70917a91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -181,8 +181,8 @@ impl MangoClient {
) -> anyhow::Result<(Pubkey, Signature)> {
let account = Pubkey::find_program_address(
&[
group.as_ref(),
b"MangoAccount".as_ref(),
group.as_ref(),
owner.pubkey().as_ref(),
&account_num.to_le_bytes(),
],