Browse Source
Fixes #1213. Prior to this commit, if the YieldGeneratorService were started via a call to /maker/start over the RPC-API, the early check of whether coins were present in the wallet to allow starting the maker, incorrectly read the contents of the dict returned by jmclient.wallet.UTXOManager.get_balance_by_mixdepth, which returns entries for mixdepths with coins which are all frozen, with a total value of zero, even if the include_disabled keyword argument is set to False. Thus only checking for whether the length of the returned dict was zero was incorrect. After this commit, we will stop early, as intended, for a wallet which has no mixdepths with any non-frozen coins.master
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue