diff --git a/actions/executeInstructions.ts b/actions/executeInstructions.ts index 6ba0fa1403..dd253f3ecb 100644 --- a/actions/executeInstructions.ts +++ b/actions/executeInstructions.ts @@ -23,7 +23,6 @@ export const executeInstructions = async ( proposalInstructions: ProgramAccount[], multiTransactionMode = false ) => { - console.log(multiTransactionMode) const instructions: TransactionInstruction[] = [] await Promise.all( diff --git a/cli/helpers/createBase64Proposal.ts b/cli/helpers/createBase64Proposal.ts index 79f328d004..db9fc3608c 100644 --- a/cli/helpers/createBase64Proposal.ts +++ b/cli/helpers/createBase64Proposal.ts @@ -42,7 +42,7 @@ export const createBase64Proposal = async ( const governanceAuthority = walletPk const signatory = walletPk const payer = walletPk - console.log(wallet) + // Changed this because it is misbehaving on my local validator setup. const programVersion = await getGovernanceProgramVersion( connection, diff --git a/components/instructions/TransactionPanel.tsx b/components/instructions/TransactionPanel.tsx index b1e7bc29e4..9fdb21ff46 100644 --- a/components/instructions/TransactionPanel.tsx +++ b/components/instructions/TransactionPanel.tsx @@ -156,6 +156,7 @@ export function TransactionPanel() { proposal={proposal} proposalInstructions={proposalTransactions} playing={playing} + label="Execute all in one transaction" setPlaying={setPlaying} /> diff --git a/utils/Mango/listingTools.ts b/utils/Mango/listingTools.ts index 6d6d97e68b..f060aa3c7d 100644 --- a/utils/Mango/listingTools.ts +++ b/utils/Mango/listingTools.ts @@ -402,7 +402,7 @@ export const getBestMarket = async ({ new PublicKey(quoteMint), dexProgramPk ) - console.log(baseMint, quoteMint, markets) + if (!markets.length) { return undefined }