Skip to content

Commit

Permalink
exchanges/binance: Binance.UpdateAccountInfo() now correctly assigns …
Browse files Browse the repository at this point in the history
…Balance.Hold for spot (thrasher-corp#736)
  • Loading branch information
ydm authored Aug 5, 2021
1 parent 48434df commit d638f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/binance/binance_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ func (b *Binance) UpdateAccountInfo(assetType asset.Item) (account.Holdings, err
currencyBalance = append(currencyBalance, account.Balance{
CurrencyName: currency.NewCode(raw.Balances[i].Asset),
TotalValue: freeCurrency + lockedCurrency,
Hold: freeCurrency,
Hold: lockedCurrency,
})
}

Expand Down

0 comments on commit d638f0b

Please sign in to comment.