Skip to content

Commit

Permalink
fix weight
Browse files Browse the repository at this point in the history
  • Loading branch information
Geninsus committed Nov 21, 2024
1 parent 0117a75 commit 02ad671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/plugins/src/plugins/jupiter/pricingJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const executor: JobExecutor = async (cache: Cache) => {
timestamp: Date.now(),
price: solTokenPrice.price * price,
platformId: walletTokensPlatform.id,
weight: 0.8,
weight: 1,
};
sources.push(source);
});
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/src/utils/solana/pyth/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ export async function getPythTokenPriceSources(
platformId: token.platformId || walletTokensPlatform.id,
price,
timestamp: Date.now(),
weight: 1,
weight: 0.5,
}));
})
.flat();
Expand Down

0 comments on commit 02ad671

Please sign in to comment.