fix: add missing error check in currency service
This commit is contained in:
parent
51a1a9940f
commit
337f3aefec
|
@ -110,6 +110,9 @@ func (s *Service) fetchAllTokenCurrencyFormats() (FormatPerSymbol, error) {
|
|||
}
|
||||
|
||||
tokenFormats, err := s.currency.FetchTokenCurrencyFormats(tokenSymbols)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
gweiSymbol := "Gwei"
|
||||
tokenFormats[gweiSymbol] = Format{
|
||||
Symbol: gweiSymbol,
|
||||
|
|
Loading…
Reference in New Issue