From 08d3debc3a468bf6ec2db19c58c874673cf31188 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Tue, 18 Aug 2020 09:48:25 +0300 Subject: [PATCH] Fix SetBalance setter Signed-off-by: Alex Vanin --- v2/accounting/accounting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/accounting/accounting.go b/v2/accounting/accounting.go index 22be9ba5..1576a9a9 100644 --- a/v2/accounting/accounting.go +++ b/v2/accounting/accounting.go @@ -145,7 +145,7 @@ func (br *BalanceResponseBody) GetBalance() *Decimal { func (br *BalanceResponseBody) SetBalance(v *Decimal) { if br != nil { - br.SetBalance(v) + br.bal = v } }