test
This commit is contained in:
@@ -771,6 +771,11 @@ void CWallet::DecrementNoteWitnesses()
|
|||||||
}
|
}
|
||||||
// TODO: If nWitnessCache is zero, we need to regenerate the caches (#1302)
|
// TODO: If nWitnessCache is zero, we need to regenerate the caches (#1302)
|
||||||
assert(nWitnessCacheSize > 0);
|
assert(nWitnessCacheSize > 0);
|
||||||
|
if ( nWitnessCacheSize <= 0 )
|
||||||
|
{
|
||||||
|
extern char ASSETCHAINS_SYMBOL[16];
|
||||||
|
fprintf(stderr,"%s nWitnessCacheSize.%d\n",ASSETCHAINS_SYMBOL,(int32_t)nWitnessCacheSize);
|
||||||
|
}
|
||||||
if (fFileBacked) {
|
if (fFileBacked) {
|
||||||
CWalletDB walletdb(strWalletFile);
|
CWalletDB walletdb(strWalletFile);
|
||||||
WriteWitnessCache(walletdb);
|
WriteWitnessCache(walletdb);
|
||||||
|
|||||||
Reference in New Issue
Block a user