cached block height over getblocktemplate
HashUnlimited opened this issue · comments
After a chain split I just recognised that we are keeping on using our cached height for block generation. Not so smart as we are going to attempt to continue mining on the invalid branch. We shall use the height given in the getblocktemplate call for each and every block assembly. PRs welcome ;-)