Closes #3560. Update Sapling note data correctly when importing a key.

This commit is contained in:
Simon
2018-10-03 15:40:50 -07:00
parent bcdb4344f0
commit f0dcfceb81
2 changed files with 9 additions and 1 deletions

View File

@@ -2367,7 +2367,7 @@ int CWallet::ScanForWalletTransactions(CBlockIndex* pindexStart, bool fUpdate)
}
}
// Increment note witness caches
IncrementNoteWitnesses(pindex, &block, sproutTree, saplingTree);
ChainTip(pindex, &block, sproutTree, saplingTree, true);
pindex = chainActive.Next(pindex);
if (GetTime() >= nNow + 60) {