mirror of https://github.com/certusone/oyster.git
Some more updates and fixes around withdrawing and voting
This commit is contained in:
parent
f230bea0cb
commit
8ae33d47cc
|
@ -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,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue