Skip to content

Commit

Permalink
Merge pull request #716 from helium/feat/apg-commitment
Browse files Browse the repository at this point in the history
Make commitment confirmed
  • Loading branch information
ChewingGlass authored Oct 18, 2024
2 parents 4fe1a13 + a37c96f commit f2f7b37
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { PublicKey } from "@solana/web3.js";
import Client, {
CommitmentLevel,
SubscribeRequest,
SubscribeUpdate,
SubscribeUpdateAccount,
Expand Down Expand Up @@ -119,6 +120,7 @@ export const setupYellowstone = async (
blocksMeta: {},
accountsDataSlice: [],
ping: undefined,
commitment: CommitmentLevel.CONFIRMED
};

stream.write(request, (err: any) => {
Expand Down

0 comments on commit f2f7b37

Please sign in to comment.