Skip to content

Commit

Permalink
chore: fixed validateAvaxBurnedAmountEtna check
Browse files Browse the repository at this point in the history
  • Loading branch information
ruijialin-avalabs committed Oct 10, 2024
1 parent 7502549 commit 9011e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/validateBurnedAmount/validateBurnedAmount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const validateBurnedAmount = ({
feeTolerance,
});
}
if (isEtnaEnabled(upgradesInfo) || !isPreEtnaTx(tx)) {
if (isEtnaEnabled(upgradesInfo) && !isPreEtnaTx(tx)) {
return validateAvaxBurnedAmountEtna({
unsignedTx,
baseFee,
Expand Down

0 comments on commit 9011e08

Please sign in to comment.