mirror of
https://github.com/trezor/blockbook.git
synced 2026-02-20 00:51:39 +01:00
chore: make function comment match function name
Signed-off-by: yudrywet <yudeyao@yeah.net>
This commit is contained in:
@@ -57,7 +57,7 @@ func (t *CurrencyRatesTicker) ConvertTokenToBase(value float64, token string) fl
|
||||
return 0
|
||||
}
|
||||
|
||||
// ConvertTokenToBase converts token value to toCurrency currency
|
||||
// ConvertToken converts token value to toCurrency currency
|
||||
func (t *CurrencyRatesTicker) ConvertToken(value float64, token string, toCurrency string) float64 {
|
||||
baseValue := t.ConvertTokenToBase(value, token)
|
||||
if baseValue > 0 {
|
||||
|
||||
Reference in New Issue
Block a user