Test
This commit is contained in:
@@ -811,10 +811,10 @@ void CWallet::DecrementNoteWitnesses(const CBlockIndex* pindex)
|
|||||||
}
|
}
|
||||||
if ( KOMODO_REWIND == 0 )
|
if ( KOMODO_REWIND == 0 )
|
||||||
assert(nWitnessCacheSize > 0);
|
assert(nWitnessCacheSize > 0);
|
||||||
if (fFileBacked) {
|
//if (fFileBacked) {
|
||||||
CWalletDB walletdb(strWalletFile);
|
// CWalletDB walletdb(strWalletFile);
|
||||||
WriteWitnessCache(walletdb);
|
// WriteWitnessCache(walletdb);
|
||||||
}
|
//}
|
||||||
// For performance reasons, we write out the witness cache in
|
// For performance reasons, we write out the witness cache in
|
||||||
// CWallet::SetBestChain() (which also ensures that overall consistency
|
// CWallet::SetBestChain() (which also ensures that overall consistency
|
||||||
// of the wallet.dat is maintained).
|
// of the wallet.dat is maintained).
|
||||||
|
|||||||
Reference in New Issue
Block a user