Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2023-01-12 20:39:46 +01:00 committed by GitHub
parent b4b7085e67
commit a7a5c740c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -222,7 +222,7 @@ pub mod mango_v4 {
instructions::account_edit(ctx, name_opt, delegate_opt)
}
pub fn aaccount_toggle_freeze(ctx: Context<AccountToggleFreeze>, freeze: bool) -> Result<()> {
pub fn account_toggle_freeze(ctx: Context<AccountToggleFreeze>, freeze: bool) -> Result<()> {
instructions::account_toggle_freeze(ctx, freeze)
}

View File

@ -677,7 +677,7 @@ export class MangoClient {
freeze: boolean,
): Promise<TransactionSignature> {
return await this.program.methods
.aaccountToggleFreeze(freeze)
.accountToggleFreeze(freeze)
.accounts({
group: group.publicKey,
account: mangoAccount.publicKey,

View File

@ -1023,7 +1023,7 @@ export type MangoV4 = {
]
},
{
"name": "aaccountToggleFreeze",
"name": "accountToggleFreeze",
"accounts": [
{
"name": "group",
@ -8741,7 +8741,7 @@ export const IDL: MangoV4 = {
]
},
{
"name": "aaccountToggleFreeze",
"name": "accountToggleFreeze",
"accounts": [
{
"name": "group",