Auto-rescan wallets on reorg if note witnesses get out of sync
This commit is contained in:
@@ -4048,7 +4048,10 @@ static bool ActivateBestChainStep(CValidationState &state, CBlockIndex *pindexMo
|
||||
CheckForkWarningConditionsOnNewFork(vpindexToConnect.back());
|
||||
else
|
||||
CheckForkWarningConditions();
|
||||
|
||||
|
||||
// if we need to, rescan wallets
|
||||
RescanWallets();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user