This commit is contained in:
jl777
2016-11-07 18:05:15 -03:00
parent 529f87603e
commit 7ca711bac3
2 changed files with 3 additions and 3 deletions

View File

@@ -167,10 +167,10 @@ void komodo_gateway_deposits(CMutableTransaction *txNew,int32_t shortflag,char *
else opcode = 'X';
HASH_ITER(hh,PAX,pax,tmp)
{
if ( ASSETCHAINS_SYMBOL[0] != 0 )
printf("pax.%p marked.%d %.8f -> %.8f\n",pax,pax->marked,dstr(pax->komodoshis),dstr(pax->fiatoshis));
if ( pax->marked != 0 )
continue;
if ( ASSETCHAINS_SYMBOL[0] != 0 )
printf("pax.%p marked.%d %.8f -> %.8f\n",pax,pax->marked,dstr(pax->komodoshis),dstr(pax->fiatoshis));
txNew->vout.resize(numvouts+1);
txNew->vout[numvouts].nValue = pax->fiatoshis;
txNew->vout[numvouts].scriptPubKey.resize(25);

View File

@@ -524,7 +524,7 @@ void static BitcoinMiner(CWallet *pwallet)
komodo_chosennotary(&notaryid,chainActive.Tip()->nHeight,NOTARY_PUBKEY33);
std::string solver;
if ( notaryid >= 0 )
if ( notaryid >= 0 || ASSETCHAINS[0] != 0 )
solver = "tromp";
else solver = "default";
assert(solver == "tromp" || solver == "default");