From e69a0833b1aae74212a40e22a1b41ae4159e51d0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 19 Oct 2016 13:04:18 -0300 Subject: [PATCH] test --- src/komodo.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/komodo.h b/src/komodo.h index 276459a35..83130c0fb 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -313,6 +313,12 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block) { memcpy(scriptbuf,block.vtx[i].vout[j].scriptPubKey.data(),len); notaryid = komodo_voutupdate(notaryid,scriptbuf,len,height,txhash,i,j,&voutmask,&specialtx,¬arizedheight); + if ( i > 0 ) + { + for (k=0; k= 0 && voutmask != 0 ) @@ -328,7 +334,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block) } if ( signedmask != 0 && (notarizedheight != 0 || specialtx != 0) ) { - printf("NOTARY SIGNED.%llx ht.%d txi.%d notaryht.%d specialtx.%d\n",(long long)signedmask,height,i,notarizedheight,specialtx); + printf("NOTARY SIGNED.%llx numvins.%d ht.%d txi.%d notaryht.%d specialtx.%d\n",(long long)signedmask,numvins,height,i,notarizedheight,specialtx); if ( specialtx != 0 && numvouts > 2 && komodo_threshold(signedmask) > 0 ) { for (j=1; j