mirror of
https://github.com/status-im/status-go.git
synced 2025-01-24 21:49:54 +00:00
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…
x
Reference in New Issue
Block a user