client: remove Balancer getter/setter, make it an Option

Keep it internal to the client instance, it makes no sense exposing it to the
outside user.
This commit is contained in:
Roman Khimov 2020-04-29 18:04:05 +03:00
parent 315aabde56
commit 20d477cbd8
2 changed files with 31 additions and 38 deletions

View file

@ -482,7 +482,7 @@ func (c *Client) TransferAsset(asset util.Uint256, address string, amount util.F
Address: address,
Value: amount,
WIF: c.WIF(),
Balancer: c.Balancer(),
Balancer: c.balancer,
}
resp util.Uint256
)