|
|
@ -398,7 +398,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) |
|
|
|
txNew.vin[0].scriptSig = CScript() << nHeight << OP_0; |
|
|
|
if ( ASSETCHAINS_SYMBOL[0] == 0 ) |
|
|
|
{ |
|
|
|
int32_t i,opretlen; uint8_t opret[256],*ptr; |
|
|
|
/*int32_t i,opretlen; uint8_t opret[256],*ptr;
|
|
|
|
if ( (nHeight % 60) == 0 || komodo_gateway_deposits(&txNew,(char *)"KMD",1) == 0 ) |
|
|
|
{ |
|
|
|
if ( (opretlen= komodo_pax_opreturn((int32_t)nHeight,opret,sizeof(opret))) > 0 ) // have pricefeed
|
|
|
@ -411,7 +411,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) |
|
|
|
txNew.vout[1].nValue = 0; |
|
|
|
//fprintf(stderr,"opretlen.%d\n",opretlen);
|
|
|
|
} //else printf("null opretlen for prices\n");
|
|
|
|
} |
|
|
|
}*/ |
|
|
|
} |
|
|
|
else if ( komodo_is_issuer() != 0 ) |
|
|
|
{ |
|
|
|