Skip to content

Commit

Permalink
fixup! Add fee currency exchange rates to BlockContext
Browse files Browse the repository at this point in the history
  • Loading branch information
karlb committed Oct 11, 2023
1 parent e0962e1 commit 8fc76b1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/celo_evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ func getExchangeRates(caller *CeloBackend, registry *abigen.RegistryCaller) (map
return exchangeRates, fmt.Errorf("Failed to get whitelisted tokens: %w", err)
}
for _, tokenAddress := range whitelistedTokens {

numerator, denominator, err := oracle.MedianRate(&bind.CallOpts{}, tokenAddress)
if err != nil {
log.Error("Failed to get medianRate for gas currency!", "err", err, "tokenAddress", tokenAddress)
Expand Down

0 comments on commit 8fc76b1

Please sign in to comment.