This commit is contained in:
@@ -375,7 +375,7 @@ void *dicefinish(void *_ptr)
|
|||||||
if ( newblock != 0 && ptr->txid != zeroid )
|
if ( newblock != 0 && ptr->txid != zeroid )
|
||||||
{
|
{
|
||||||
CCduration(numblocks,ptr->txid);
|
CCduration(numblocks,ptr->txid);
|
||||||
fprintf(stderr,"duration finish txid.%s\n",ptr->txid.GetHex().c_str());
|
//fprintf(stderr,"duration finish txid.%s\n",ptr->txid.GetHex().c_str());
|
||||||
if ( numblocks == 0 )
|
if ( numblocks == 0 )
|
||||||
mySenddicetransaction(ptr->rawtx,ptr->entropyused,ptr->entropyvout,ptr->bettxid,ptr->betTx,ptr->funcid,ptr);
|
mySenddicetransaction(ptr->rawtx,ptr->entropyused,ptr->entropyvout,ptr->bettxid,ptr->betTx,ptr->funcid,ptr);
|
||||||
else continue;
|
else continue;
|
||||||
|
|||||||
@@ -1476,6 +1476,7 @@ int64_t komodo_checkcommission(CBlock *pblock,int32_t height)
|
|||||||
if ( ASSETCHAINS_COMMISSION != 0 )
|
if ( ASSETCHAINS_COMMISSION != 0 )
|
||||||
{
|
{
|
||||||
checktoshis = komodo_commission(pblock);
|
checktoshis = komodo_commission(pblock);
|
||||||
|
fprintf(stderr,"height.%d commission %.8f\n",height,(double)checktoshis/COIN);
|
||||||
/*if ( checktoshis > 10000 && pblock->vtx[0].vout.size() != 2 )
|
/*if ( checktoshis > 10000 && pblock->vtx[0].vout.size() != 2 )
|
||||||
return(-1);
|
return(-1);
|
||||||
else*/ if ( checktoshis != 0 )
|
else*/ if ( checktoshis != 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user