Skip to content

Commit

Permalink
chore: fix gas limit low error
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Mar 15, 2024
1 parent e7d686d commit 9c09e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/axelar-query/isomorphic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class AxelarQueryAPIClient extends RestService {
gasMultiplier = "auto",
showDetailedFees = false,
}: EstimateGasFeeParams): Promise<EstimateGasFeeResponse | string> {
if (gasLimit < 21000) {
if (gasLimit < 1) {
throw new Error("Gas limit is too low.");
}

Expand Down

0 comments on commit 9c09e70

Please sign in to comment.