Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
swift1337 committed Jul 24, 2024
1 parent f50abea commit ccc3598
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zetaclient/chains/evm/observer/observer_gas.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ func (ob *Observer) supportsPriorityFee(ctx context.Context) (bool, error) {
Msg("Fetched base fee for chain")

// EIP-1559 is supported if base fee is not zero.
isSupported := baseFee.Uint64() > 0
// Not that, for example, BSC supports EIP-1559 but base fee is zero.
isSupported := baseFee != nil

ob.Mu().Lock()
defer ob.Mu().Unlock()
Expand Down

0 comments on commit ccc3598

Please sign in to comment.