diff --git a/src/komodo.h b/src/komodo.h index 8fb2b1402..a3ff56205 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -210,7 +210,7 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp) void komodo_connectblock(CBlockIndex *pindex,CBlock& block) { - char *scriptstr,*opreturnstr; uint32_t notarizedheight; uint8_t opret[256]; + char *scriptstr,*opreturnstr; uint32_t notarizedheight; uint8_t opret[256]; const CTxOut &prevout; int32_t i,j,k,opretlen,len,numvins,numvouts,height,txn_count; uint256 kmdtxid,btctxid; // update voting results and official (height, notaries[]) if ( pindex != 0 ) @@ -221,6 +221,12 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block) { numvouts = block.vtx[i].vout.size(); numvins = block.vtx[i].vin.size(); + for (j=0; j