We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9867275 commit 0418ec6Copy full SHA for 0418ec6
governance/xc_admin/packages/xc_admin_cli/src/index.ts
@@ -419,7 +419,16 @@ multisigCommand(
419
),
420
421
)
422
- ).flat();
+ )
423
+ .map((stakeAccounts, index) => {
424
+ if (stakeAccounts.length === 0) {
425
+ console.log(
426
+ `Skipping vote account ${voteAccounts[index].toBase58()} - no stake accounts found`,
427
+ );
428
+ }
429
+ return stakeAccounts;
430
+ })
431
+ .flat();
432
433
const instructions = stakeAccounts.flatMap(
434
(stakeAccount) =>
0 commit comments