diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 568883b08..5ed928000 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -153,8 +153,10 @@ void komodo_gateway_deposits(CMutableTransaction *txNew,int32_t shortflag,char * if ( strcmp(symbol,"KMD") != 0 ) opcode = 'I'; else opcode = 'X'; + printf("gateway deposits\n"); HASH_ITER(hh,PAX,pax,tmp) { + printf("pax.%p\n",pax); if ( pax->marked != 0 ) continue; if ( ASSETCHAINS_SYMBOL[0] != 0 ) diff --git a/src/miner.cpp b/src/miner.cpp index 76c1ae3a0..b692b47d7 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -125,7 +125,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) break; sleep(10); } - if ( ASSETCHAINS_SYMBOL[0] != 0 ) + if ( deposits != 0 ) printf("miner KOMODO_DEPOSIT %llu pblock->nHeight %d mempool.GetTotalTxSize(%d)\n",(long long)komodo_paxtotal(),(int32_t)chainActive.Tip()->nHeight,(int32_t)mempool.GetTotalTxSize()); // -regtest only: allow overriding block.nVersion with