Wallet crashes when calculating score
CalculateScore() function has an assert to check if chain height is higher then systemnode/masternode collateral height plus minimal confirmation count. This assert sometimes fails.
Steps to reproduce:
- Create masternode/systemnode
- Start it without waiting for needed amount of confirmations
- Restart the wallet
The check is added to not allow starting MN/SN when input doesn't have required amount of confirmations.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information