Auto merge of #3561 - bitcartel:3560_update_sapling_note_data, r=bitcartel
Closes #3560. Update Sapling note data correctly when importing a key.
This commit is contained in:
@@ -2379,7 +2379,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) {
|
||||
|
||||
Reference in New Issue
Block a user