Skip to content

Commit eaf5f45

Browse files
authored
Fix typo (#692)
1 parent a5ddf84 commit eaf5f45

File tree

1 file changed

+7
-7
lines changed
  • governance/xc_admin/packages/xc_admin_cli/src

1 file changed

+7
-7
lines changed

governance/xc_admin/packages/xc_admin_cli/src/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export async function loadHotWalletOrLedger(
5353
}
5454
}
5555

56-
const mutlisigCommand = (name: string, description: string) =>
56+
const multisigCommand = (name: string, description: string) =>
5757
program
5858
.command(name)
5959
.description(description)
@@ -77,7 +77,7 @@ program
7777
.description("CLI for interacting with Pyth's xc_admin")
7878
.version("0.1.0");
7979

80-
mutlisigCommand(
80+
multisigCommand(
8181
"accept-authority",
8282
"Accept authority from the program authority escrow"
8383
)
@@ -155,7 +155,7 @@ mutlisigCommand(
155155
);
156156
});
157157

158-
mutlisigCommand("upgrade-program", "Upgrade a program from a buffer")
158+
multisigCommand("upgrade-program", "Upgrade a program from a buffer")
159159
.requiredOption(
160160
"-p, --program-id <pubkey>",
161161
"program that you want to upgrade"
@@ -218,7 +218,7 @@ mutlisigCommand("upgrade-program", "Upgrade a program from a buffer")
218218
);
219219
});
220220

221-
mutlisigCommand(
221+
multisigCommand(
222222
"init-price",
223223
"Init price (useful for changing the exponent), only to be used on unused price feeds"
224224
)
@@ -287,7 +287,7 @@ program
287287
console.log(JSON.stringify(parsed, null, 2));
288288
});
289289

290-
mutlisigCommand("approve", "Approve a transaction sitting in the multisig")
290+
multisigCommand("approve", "Approve a transaction sitting in the multisig")
291291
.requiredOption(
292292
"-t, --transaction <pubkey>",
293293
"address of the outstanding transaction"
@@ -305,7 +305,7 @@ mutlisigCommand("approve", "Approve a transaction sitting in the multisig")
305305
await squad.approveTransaction(transaction);
306306
});
307307

308-
mutlisigCommand("propose-token-transfer", "Propose token transfer")
308+
multisigCommand("propose-token-transfer", "Propose token transfer")
309309
.requiredOption("-a, --amount <number>", "amount in dollars")
310310
.requiredOption("-d, --destination <pubkey>", "destination address")
311311
.option(
@@ -363,7 +363,7 @@ mutlisigCommand("propose-token-transfer", "Propose token transfer")
363363
/**
364364
* Activate proposal, mostly useful for cleaning up draft proposals that happen when the browser wallet fails to send all transactions succesfully
365365
*/
366-
mutlisigCommand("activate", "Activate a transaction sitting in the multisig")
366+
multisigCommand("activate", "Activate a transaction sitting in the multisig")
367367
.requiredOption(
368368
"-t, --transaction <pubkey>",
369369
"address of the draft transaction"

0 commit comments

Comments
 (0)