Skip to content

Commit

Permalink
Fix invalid position on param (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
manolisliolios authored Jun 4, 2024
1 parent ea1b749 commit c3cc68c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/transactions/subnames/04.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const execute = async () => {
constants.packageId,
);

await prepareMultisigTx(txb, constants.adminAddress, 'mainnet');
await prepareMultisigTx(txb, 'mainnet', constants.adminAddress);
};

execute();
2 changes: 1 addition & 1 deletion scripts/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ export const signAndExecute = async (txb: TransactionBlock, network: Network) =>
/// or `setup/src/tx-data.local.txt` on mainnet.
export const prepareMultisigTx = async (
tx: TransactionBlock,
address: string,
network: Network,
address?: string,
) => {
const adminAddress = address ?? getActiveAddress();
const client = getClient(network);
Expand Down

0 comments on commit c3cc68c

Please sign in to comment.