Browse Source

test

pull/4/head
jl777 8 years ago
parent
commit
57d9cfcc31
  1. 2
      src/komodo.h
  2. 1
      src/komodo_utils.h
  3. 2
      src/wallet/wallet.cpp

2
src/komodo.h

@ -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);
}

1
src/komodo_utils.h

@ -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);

2
src/wallet/wallet.cpp

@ -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);

Loading…
Cancel
Save