This commit is contained in:
jl777
2016-12-03 12:01:28 -03:00
parent 8432a64f0e
commit 57d9cfcc31
3 changed files with 2 additions and 3 deletions

View File

@@ -516,7 +516,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block)
int32_t k;
for (k=0; k<scriptlen; k++)
printf("%02x",scriptPubKey[k]);
printf(" scriptPubKey doesnt match any notary\n");
printf(" scriptPubKey doesnt match any notary vini.%d of %d\n",j,numvins);
}
} else printf("cant get scriptPubKey for ht.%d txi.%d vin.%d\n",height,i,j);
}

View File

@@ -1452,7 +1452,6 @@ void komodo_args()
name = GetArg("-ac_name","");
if ( (KOMODO_REWIND= GetArg("-rewind",0)) != 0 )
;
printf("KOMODO REWIND.%d\n",KOMODO_REWIND);
if ( name.c_str()[0] != 0 )
{
ASSETCHAINS_SUPPLY = GetArg("-ac_supply",10);

View File

@@ -776,7 +776,7 @@ void CWallet::DecrementNoteWitnesses()
extern char ASSETCHAINS_SYMBOL[16];
fprintf(stderr,"%s nWitnessCacheSize.%d\n",ASSETCHAINS_SYMBOL,(int32_t)nWitnessCacheSize);
}
if ( KOMODO_REWIND == 0 )
if ( KOMODO_REWIND == 0 || chainActive.Tip()->nHeight >= KOMODO_REWIND )
assert(nWitnessCacheSize > 0);
if (fFileBacked) {
CWalletDB walletdb(strWalletFile);