chore: Use proper Gwei decimals (#3990)
This commit is contained in:
parent
c5fd1ee2c4
commit
83d1354845
|
@ -109,5 +109,12 @@ func (s *Service) fetchAllTokenCurrencyFormats() (FormatPerSymbol, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return s.currency.FetchTokenCurrencyFormats(tokenSymbols)
|
tokenFormats, err := s.currency.FetchTokenCurrencyFormats(tokenSymbols)
|
||||||
|
gweiSymbol := "Gwei"
|
||||||
|
tokenFormats[gweiSymbol] = Format{
|
||||||
|
Symbol: gweiSymbol,
|
||||||
|
DisplayDecimals: 9,
|
||||||
|
StripTrailingZeroes: true,
|
||||||
|
}
|
||||||
|
return tokenFormats, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue