We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a27df94 commit 30533a2Copy full SHA for 30533a2
2 files changed
src/components/VoteOptions.tsx
@@ -55,9 +55,7 @@ export const VoteOptions: FC<{
55
setCurrVote(choice.index);
56
await vote({
57
choice: choice.index,
58
- onInstructions: onInstructions(provider, {
59
- useFirstEstimateForAll: true,
60
- }),
+ onInstructions: onInstructions(provider),
61
});
62
toast("Vote submitted");
63
} catch (e: any) {
src/lib/utils.ts
@@ -302,7 +302,7 @@ export const onInstructions =
302
) =>
303
async (instructions: TransactionInstruction[], sigs?: Keypair[]) => {
304
if (provider) {
305
- const computeScaleUp = useFirstEstimateForAll ? 1.4 : 1.2;
+ const computeScaleUp = 1.4;
306
307
if (sigs) {
308
const transactions = await batchInstructionsToTxsWithPriorityFee(
0 commit comments