summaryrefslogtreecommitdiffstats
path: root/pkg/api/impl/coinmarketcap/coinmarketcap.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/impl/coinmarketcap/coinmarketcap.go')
-rw-r--r--pkg/api/impl/coinmarketcap/coinmarketcap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/impl/coinmarketcap/coinmarketcap.go b/pkg/api/impl/coinmarketcap/coinmarketcap.go
index 96ba3af..6ffcca8 100644
--- a/pkg/api/impl/coinmarketcap/coinmarketcap.go
+++ b/pkg/api/impl/coinmarketcap/coinmarketcap.go
@@ -430,7 +430,7 @@ func getChartInterval(start, end int64) string {
return interval
}
-// GetExchangeRate gets the current excange rate between two currencies
+// GetExchangeRate gets the current exchange rate between two currencies
func (s *Service) GetExchangeRate(convertFrom, convertTo string, cached bool) (float64, error) {
if convertFrom == convertTo {
return 1.0, nil