Fix typo (#375)
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com> Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
b4b7085e67
commit
a7a5c740c9
|
@ -222,7 +222,7 @@ pub mod mango_v4 {
|
||||||
instructions::account_edit(ctx, name_opt, delegate_opt)
|
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)
|
instructions::account_toggle_freeze(ctx, freeze)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -677,7 +677,7 @@ export class MangoClient {
|
||||||
freeze: boolean,
|
freeze: boolean,
|
||||||
): Promise<TransactionSignature> {
|
): Promise<TransactionSignature> {
|
||||||
return await this.program.methods
|
return await this.program.methods
|
||||||
.aaccountToggleFreeze(freeze)
|
.accountToggleFreeze(freeze)
|
||||||
.accounts({
|
.accounts({
|
||||||
group: group.publicKey,
|
group: group.publicKey,
|
||||||
account: mangoAccount.publicKey,
|
account: mangoAccount.publicKey,
|
||||||
|
|
|
@ -1023,7 +1023,7 @@ export type MangoV4 = {
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "aaccountToggleFreeze",
|
"name": "accountToggleFreeze",
|
||||||
"accounts": [
|
"accounts": [
|
||||||
{
|
{
|
||||||
"name": "group",
|
"name": "group",
|
||||||
|
@ -8741,7 +8741,7 @@ export const IDL: MangoV4 = {
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "aaccountToggleFreeze",
|
"name": "accountToggleFreeze",
|
||||||
"accounts": [
|
"accounts": [
|
||||||
{
|
{
|
||||||
"name": "group",
|
"name": "group",
|
||||||
|
|
Loading…
Reference in New Issue