test
This commit is contained in:
@@ -167,10 +167,10 @@ void komodo_gateway_deposits(CMutableTransaction *txNew,int32_t shortflag,char *
|
|||||||
else opcode = 'X';
|
else opcode = 'X';
|
||||||
HASH_ITER(hh,PAX,pax,tmp)
|
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 )
|
if ( pax->marked != 0 )
|
||||||
continue;
|
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.resize(numvouts+1);
|
||||||
txNew->vout[numvouts].nValue = pax->fiatoshis;
|
txNew->vout[numvouts].nValue = pax->fiatoshis;
|
||||||
txNew->vout[numvouts].scriptPubKey.resize(25);
|
txNew->vout[numvouts].scriptPubKey.resize(25);
|
||||||
|
|||||||
@@ -524,7 +524,7 @@ void static BitcoinMiner(CWallet *pwallet)
|
|||||||
komodo_chosennotary(¬aryid,chainActive.Tip()->nHeight,NOTARY_PUBKEY33);
|
komodo_chosennotary(¬aryid,chainActive.Tip()->nHeight,NOTARY_PUBKEY33);
|
||||||
|
|
||||||
std::string solver;
|
std::string solver;
|
||||||
if ( notaryid >= 0 )
|
if ( notaryid >= 0 || ASSETCHAINS[0] != 0 )
|
||||||
solver = "tromp";
|
solver = "tromp";
|
||||||
else solver = "default";
|
else solver = "default";
|
||||||
assert(solver == "tromp" || solver == "default");
|
assert(solver == "tromp" || solver == "default");
|
||||||
|
|||||||
Reference in New Issue
Block a user