Test
This commit is contained in:
@@ -545,6 +545,9 @@ CBlockTemplate* CreateNewBlock(CPubKey _pk,const CScript& _scriptPubKeyIn, int32
|
|||||||
// to transaction if so, cast for GTE operator
|
// to transaction if so, cast for GTE operator
|
||||||
if ( ASSETCHAINS_MARMARA != 0 && nHeight > 0 && (nHeight & 1) == 0 )
|
if ( ASSETCHAINS_MARMARA != 0 && nHeight > 0 && (nHeight & 1) == 0 )
|
||||||
{
|
{
|
||||||
|
char checkaddr[64];
|
||||||
|
Getscriptaddress(checkaddr,txNew.vout[0].scriptPubKey);
|
||||||
|
fprintf(stderr,"set mining coinbase -> %s\n",checkaddr);
|
||||||
txNew.vout.resize(2);
|
txNew.vout.resize(2);
|
||||||
txNew.vout[1].nValue = 0;
|
txNew.vout[1].nValue = 0;
|
||||||
txNew.vout[1].scriptPubKey = MarmaraCoinbaseOpret('C',nHeight,pk);
|
txNew.vout[1].scriptPubKey = MarmaraCoinbaseOpret('C',nHeight,pk);
|
||||||
|
|||||||
Reference in New Issue
Block a user