client: Fix seeds for create_account() (#635)
This commit is contained in:
parent
30cb4d7753
commit
5a70917a91
|
@ -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(),
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue