Skip to content

Commit 794b67c

Browse files
committed
remove enforced creator check
1 parent 66a08b4 commit 794b67c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

components/TreasuryAccount/DepositNFTFromWallet.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ const useMetaplexDeposit = () => {
5454
wallet.publicKey,
5555
)
5656

57+
console.log('deposit ix', ix.programId.toBase58(), ix.keys.map((k) => k.pubkey.toBase58()));
58+
5759
await sendTransactionsV3({
5860
connection: connection.current,
5961
wallet,

pages/dao/[symbol]/proposal/components/instructions/Raydium/CollectVestedTokens.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ const CollectVestedTokens = ({
8383

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

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

0 commit comments

Comments
 (0)