From b5ab5b52f2f5bdc280d3c6f8f1cf47bc2fa1ca62 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 18 Oct 2016 20:39:40 -0300 Subject: [PATCH] test --- src/komodo.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/komodo.h b/src/komodo.h index 079a97dae..865865410 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -187,6 +187,7 @@ void komodo_nutxoadd(int32_t notaryid,uint256 txhash,uint64_t voutmask) NUTXOS[Num_nutxos].txhash = txhash; NUTXOS[Num_nutxos].voutmask = voutmask; NUTXOS[Num_nutxos].notaryid = notaryid; + printf("Add NUTXO[%d] <- notaryid.%d %llx\n",Num_nutxos,notaryid,(long long)voutmask); Num_nutxos++; } @@ -283,7 +284,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block) break; } } - printf("k.%d ht.%d txi.%d numvins.%d numvouts.%d vout.%d (%s)\n",k,height,i,numvins,numvouts,j,txhash.ToString().c_str()); + printf("k.%d ht.%d txi.%d numvins.%d numvouts.%d vout.%d (%s)\n",notaryid,height,i,numvins,numvouts,j,txhash.ToString().c_str()); } if ( notaryid >= 0 && voutmask != 0 ) komodo_nutxoadd(notaryid,txhash,voutmask);