Skip to content

Commit

Permalink
Use recommended priority fee by default
Browse files Browse the repository at this point in the history
  • Loading branch information
yurushao committed Jan 22, 2025
1 parent f1ca4ed commit f93582e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cli/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,7 @@ const txOptions = {

// If helius_api_key is not provided, return 0
return helius_api_key
? await getPriorityFeeEstimate(
helius_api_key,
tx,
undefined,
level || "Min",
)
? await getPriorityFeeEstimate(helius_api_key, tx, undefined, level)
: 0;
},
};
Expand Down

0 comments on commit f93582e

Please sign in to comment.