Test
This commit is contained in:
@@ -1171,6 +1171,7 @@ uint64_t komodo_commission(const CBlock *pblock,int32_t height)
|
||||
}
|
||||
if ( commission < 10000 )
|
||||
commission = 0;
|
||||
fprintf(stderr,"-> %.8f\n",(double)commission/COIN);
|
||||
return(commission);
|
||||
}
|
||||
|
||||
|
||||
@@ -554,6 +554,7 @@ CBlockTemplate* CreateNewBlock(CPubKey _pk,const CScript& _scriptPubKeyIn, int32
|
||||
txNew.vout[1].nValue = commission;
|
||||
if ( ASSETCHAINS_SCRIPTPUB.size() > 1 )
|
||||
{
|
||||
fprintf(stderr,"mine to -ac_script\n");
|
||||
//txNew.vout[1].scriptPubKey = CScript() << ParseHex();
|
||||
int32_t len = strlen(ASSETCHAINS_SCRIPTPUB.c_str());
|
||||
len >>= 1;
|
||||
|
||||
Reference in New Issue
Block a user