Skip to content

Commit

Permalink
Revert "fix: use higher commitment for blockhash to remove 'Minimum c…
Browse files Browse the repository at this point in the history
…ontext slot has not been reached' errors (#2170)"

This reverts commit 00859ba.
  • Loading branch information
guibescos committed Dec 12, 2024
1 parent c566d9e commit 1d89165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion target_chains/solana/sdk/js/solana_utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pythnetwork/solana-utils",
"version": "0.4.3",
"version": "0.4.2",
"description": "Utility functions for Solana",
"homepage": "https://pyth.network",
"main": "lib/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export class TransactionBuilder {
args: PriorityFeeConfig
): Promise<{ tx: VersionedTransaction; signers: Signer[] }[]> {
const blockhash = (
await this.connection.getLatestBlockhash({ commitment: "finalized" })
await this.connection.getLatestBlockhash({ commitment: "confirmed" })
).blockhash;

const jitoBundleSize =
Expand Down

0 comments on commit 1d89165

Please sign in to comment.