Some more updates and fixes around withdrawing and voting

This commit is contained in:
Dummy Tester 123 2021-03-17 20:39:54 -05:00
parent f230bea0cb
commit 8ae33d47cc
2 changed files with 3 additions and 4 deletions

View File

@ -272,7 +272,7 @@ async function getAssociatedAccountsAndInstructions(
wallet.publicKey, wallet.publicKey,
accountRentExempt, accountRentExempt,
yesVoteMint, yesVoteMint,
wallet.publicKey, authority,
holdingSigners, holdingSigners,
); );
@ -281,7 +281,7 @@ async function getAssociatedAccountsAndInstructions(
wallet.publicKey, wallet.publicKey,
accountRentExempt, accountRentExempt,
noVoteMint, noVoteMint,
wallet.publicKey, authority,
holdingSigners, holdingSigners,
); );
@ -290,7 +290,7 @@ async function getAssociatedAccountsAndInstructions(
wallet.publicKey, wallet.publicKey,
accountRentExempt, accountRentExempt,
timelockConfig.info.governanceMint, timelockConfig.info.governanceMint,
wallet.publicKey, authority,
holdingSigners, holdingSigners,
); );

View File

@ -41,7 +41,6 @@ export function Vote({
return eligibleToView ? ( return eligibleToView ? (
<Button <Button
type="primary" type="primary"
disabled={!voteAccount}
onClick={() => onClick={() =>
confirm({ confirm({
title: 'Confirm', title: 'Confirm',