]> Git Repo - VerusCoin.git/commitdiff
test
authorjl777 <[email protected]>
Mon, 7 Nov 2016 21:05:15 +0000 (18:05 -0300)
committerjl777 <[email protected]>
Mon, 7 Nov 2016 21:05:15 +0000 (18:05 -0300)
src/komodo_gateway.h
src/miner.cpp

index 3339252e8e788bae76bd5fdfa21a2652fecedb79..2c2335e9a2646922eca1fb36269186ead5fe0dd6 100644 (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);
index 6514f4f5021358cff63eec555564dd3813907121..e56cd5240a80bd1245f79721f3463d0cd6b84adc 100644 (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");
This page took 0.023816 seconds and 4 git commands to generate.