Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions components/TreasuryAccount/DepositNFTFromWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ const useMetaplexDeposit = () => {
wallet.publicKey,
)

console.log('deposit ix', ix.programId.toBase58(), ix.keys.map((k) => k.pubkey.toBase58()));

await sendTransactionsV3({
connection: connection.current,
wallet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ const CollectVestedTokens = ({

const poolInfo = await raydium.launchpad.getRpcPoolInfo({poolId})

if (!poolInfo.creator.equals(governedAccount.pubkey)) {
throw new Error('The DAO does not own the vesting tokens.')
}
const baseVault = poolInfo.vaultA
const walletAta = associatedAddress({mint: mintA,owner: governedAccount.pubkey})

Expand Down
Loading