From 146d2aa22d13dfa14ba8b93e6e87f30efc3ba12a Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 7 Apr 2018 15:26:50 +0300 Subject: [PATCH] Test --- src/komodo_gateway.h | 4 ++-- src/miner.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 89b4b0c93..7e4666d4b 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -659,14 +659,14 @@ uint64_t komodo_commission(const CBlock &block) n = block.vtx[i].vout.size(); for (j=0; j %.8f\n",txn_count,n,dstr(total),dstr((total * ASSETCHAINS_COMMISSION) / COIN)); + //fprintf(stderr,"txn.%d n.%d commission total %.8f -> %.8f\n",txn_count,n,dstr(total),dstr((total * ASSETCHAINS_COMMISSION) / COIN)); return((total * ASSETCHAINS_COMMISSION) / COIN); } diff --git a/src/miner.cpp b/src/miner.cpp index 22f1ed10c..46fcc342a 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -433,7 +433,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) for (i=0; i<33; i++) ptr[i+1] = ASSETCHAINS_OVERRIDE_PUBKEY33[i]; ptr[34] = OP_CHECKSIG; - printf("autocreate commision vout\n"); + //printf("autocreate commision vout\n"); pblock->vtx[0] = txNew; } pblocktemplate->vTxFees[0] = -nFees;