1631 | @@ -1632,8 +1632,12 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
1632 | // ********************************************************* Step 11: start node
1633 |
1634 | //// debug print
1635 | - LogPrintf("mapBlockIndex.size() = %u\n", mapBlockIndex.size());
1636 | - LogPrintf("nBestHeight = %d\n", chainActive.Height());
1637 | + {
I guess it would make sense to also cover mapBlockIndex and chainActive to make this move-safe.
chainActive.Height() is also accessed on line 1652, you want to bring it in too?
If chainActive is added then update descriptions accordingly.
Did you search for other cases?
No haven't modified the pull yet, it still just fixes the issue linked
Indeed, ight as well pull chainActive.Height() into the cs_main here.