Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
fix: sets the commitment level to confirmed (#179)
Browse files Browse the repository at this point in the history
The commitment level on the connection object was set to finalized
This caused the connection object to only fetch finalized data
Because this is really slow we now set it to confirmed which is the
next best thing.

Co-authored-by: Ruven Salamon <[email protected]>
  • Loading branch information
MaximPiessen and RuvendeGroote authored Feb 2, 2022
1 parent fb1c5f8 commit 31f21e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const config: Config = ((): Config => {
// TODO: see what these options should be
// TODO: make these configurable with environment variables
const confirmOptions: ConfirmOptions = {
commitment: "finalized",
commitment: "confirmed",
preflightCommitment: "processed",
};
const MANAGEMENT_KEYS = [
Expand Down

0 comments on commit 31f21e7

Please sign in to comment.