Apply suggestions from code review
Co-Authored-By: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
4f3f8899b3
commit
6d57fcff13
|
@ -1714,9 +1714,9 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
|||
}
|
||||
if (chainActive.Tip() && chainActive.Tip() != pindexRescan)
|
||||
{
|
||||
//We can't rescan beyond non-pruned blocks, stop and throw an error
|
||||
//this might happen if a user uses a old wallet within a pruned node
|
||||
// or if he ran -disablewallet for a longer time, then decided to re-enable
|
||||
// We can't rescan beyond non-pruned blocks, so stop and throw an error.
|
||||
// This might happen if a user uses a old wallet within a pruned node,
|
||||
// or if they ran -disablewallet for a longer time, then decided to re-enable.
|
||||
if (fPruneMode)
|
||||
{
|
||||
CBlockIndex *block = chainActive.Tip();
|
||||
|
|
Loading…
Reference in New Issue