Skip to content

Commit

Permalink
admin address
Browse files Browse the repository at this point in the history
  • Loading branch information
leecchh committed Oct 4, 2024
1 parent 5a19b19 commit 5f37fe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/transactions/deepbook/create_pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { TransactionBlock } from '@mysten/sui.js/transactions';
import dotenv from 'dotenv';

import { Network } from '../../config/constants';
import { Network, mainPackage } from '../../config/constants';
import { prepareMultisigTx, signAndExecute } from '../../utils/utils';

dotenv.config();
Expand Down Expand Up @@ -45,7 +45,7 @@ const setup = async (network: Network) => {
});

// for mainnet, we prepare the multi-sig tx.
if (network === 'mainnet') return prepareMultisigTx(txb, 'mainnet');
if (network === 'mainnet') return prepareMultisigTx(txb, 'mainnet', mainPackage.mainnet.adminAddress);

// For testnet, we execute the TX directly.
return signAndExecute(txb, network);
Expand Down

0 comments on commit 5f37fe2

Please sign in to comment.