From 236a2afab5c5c3d9d7d36aabf01c9059657149af Mon Sep 17 00:00:00 2001 From: Ryan O'Hara-Reid Date: Fri, 11 Mar 2016 21:39:30 +1100 Subject: [PATCH] Changed naming Convention --- ticker.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ticker.go b/ticker.go index f7651817..c73dc505 100644 --- a/ticker.go +++ b/ticker.go @@ -39,11 +39,11 @@ func (t *Ticker) PriceToString(cryptoCurrency, fiatCurrency, priceType string) s } } -func AddTickerPrice(m map[string]map[string]TickerPrice, cyrptocurrency, fiatcurrency string, price TickerPrice) { - mm, ok := m[cyrptocurrency] +func AddTickerPrice(m map[string]map[string]TickerPrice, cryptocurrency, fiatcurrency string, price TickerPrice) { + mm, ok := m[cryptocurrency] if !ok { mm = make(map[string]TickerPrice) - m[cyrptocurrency] = mm + m[cryptocurrency] = mm } mm[fiatcurrency] = price }