Skip to content

Commit

Permalink
PRT-376 removing gas validation, we already have one that validates p…
Browse files Browse the repository at this point in the history
…rofitable.
  • Loading branch information
ranlavanet committed Jan 26, 2023
1 parent 2920f61 commit 26c4e63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions relayer/sentry/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ func CheckProfitabilityAndBroadCastTx(clientCtx client.Context, txf tx.Factory,
}
}

if err := validateGas(gasUsed); err != nil {
return err
}
// if err := validateGas(gasUsed); err != nil {
// return err
// }

txf = txf.WithGas(gasUsed)

Expand Down

0 comments on commit 26c4e63

Please sign in to comment.