Skip to content

Commit

Permalink
Fix GSO withdraw validation (#1964)
Browse files Browse the repository at this point in the history
  • Loading branch information
brittcyr authored Dec 5, 2023
1 parent 76219ee commit bcca1db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/instructions/Dual/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ export async function getGsoWithdrawInstruction({

const serializedInstruction = ''
const additionalSerializedInstructions: string[] = []
if (isValid && form.soName && form.baseTreasury && !!form.baseTreasury.isSol && wallet?.publicKey) {
if (isValid && form.soName && form.baseTreasury && wallet?.publicKey) {
const gso = getGsoApi(connection)
const authority = form.baseTreasury.extensions.token!.account.owner!
const baseMint = form.baseTreasury.extensions.mint?.publicKey
Expand Down

1 comment on commit bcca1db

@vercel
Copy link

@vercel vercel bot commented on bcca1db Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

governance-ui – ./

governance-ui-git-main-solana-labs.vercel.app
governance-ui-solana-labs.vercel.app
app.realms.today

Please sign in to comment.