diff --git a/src/komodo.h b/src/komodo.h index 37dbbdd7a..ca28e2f41 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -256,10 +256,7 @@ int32_t komodo_notaryfind(uint8_t *pubkey) int32_t komodo_voutupdate(int32_t notaryid,uint8_t *scriptbuf,int32_t scriptlen,int32_t height,uint256 txhash,int32_t i,int32_t j,uint64_t *voutmaskp,int32_t *specialtxp,int32_t *notarizedheightp) { int32_t k,opretlen,len = 0; uint256 kmdtxid,btctxid; uint8_t crypto777[33]; - for (k=0; k NOTARIZED_HEIGHT ) { @@ -338,9 +338,9 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block) if ( (k= komodo_nutxofind(block.vtx[i].vin[j].prevout.hash,block.vtx[i].vin[j].prevout.n)) >= 0 ) signedmask |= (1LL << k); } - if ( signedmask != 0 || notarizedheight != 0 ) + if ( signedmask != 0 && (notarizedheight != 0 || specialtx != 0) ) { - printf("NOTARY SIGNED.%llx ht.%d txi.%d notaryht.%d\n",(long long)signedmask,height,i,notarizedheight); + printf("NOTARY SIGNED.%llx ht.%d txi.%d notaryht.%d specialtx.%d\n",(long long)signedmask,height,i,notarizedheight,specialtx); } } } else printf("komodo_connectblock: unexpected null pindex\n");