chore: make function comment match function name

Signed-off-by: yudrywet <yudeyao@yeah.net>
This commit is contained in:
yudrywet
2025-03-12 22:37:02 +08:00
committed by Martin
parent 0562cab018
commit 304ddc2967
2 changed files with 2 additions and 2 deletions

View File

@@ -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 {