mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
OKGroup: fix currency name on GetAccountInfo (#273)
OKGroup: fix currency name on GetAccountInfo
This commit is contained in:
committed by
Adrian Gallagher
parent
6c8f8ff66b
commit
3956613831
@@ -159,7 +159,7 @@ func (o *OKGroup) GetAccountInfo() (resp exchange.AccountInfo, err error) {
|
||||
log.Errorf("Could not convert %v to float64", curr.Balance)
|
||||
}
|
||||
currencyAccount.Currencies = append(currencyAccount.Currencies, exchange.AccountCurrencyInfo{
|
||||
CurrencyName: currency.NewCode(curr.ID),
|
||||
CurrencyName: currency.NewCode(curr.Currency),
|
||||
Hold: hold,
|
||||
TotalValue: totalValue,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user