Closed AM5800 closed 5 years ago
That's how it happened.
proposerstatus
happened at the moment when the active chain had been updated with the newly proposed block but the wallet hadn't been updated. At that moment wallet contained only one coin which had been spent as a stake by the newly created block.wallet->GetBalance()
returned 10000 UTE, wallet_extension.GetStakeableBalance()
returned 0 UTE because pcoinsTip->HaveCoin
returned false for the only coin in the wallet.Doesn't https://github.com/dtr-org/unit-e/pull/953 help?
@scravy I think it doesn't. I will soon open a PR.
Flaked on travis in #908 but does not seem to be connected to the branch contents:
full log