Fix SetBalance setter

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-08-18 09:48:25 +03:00 committed by Stanislav Bogatyrev
parent c214d4d763
commit 08d3debc3a

View file

@ -145,7 +145,7 @@ func (br *BalanceResponseBody) GetBalance() *Decimal {
func (br *BalanceResponseBody) SetBalance(v *Decimal) {
if br != nil {
br.SetBalance(v)
br.bal = v
}
}