Test
This commit is contained in:
@@ -357,9 +357,11 @@ void *dicefinish(void *_ptr)
|
|||||||
if ( myGetTransaction(ptr->txid,finishTx,hashBlock) == 0 )
|
if ( myGetTransaction(ptr->txid,finishTx,hashBlock) == 0 )
|
||||||
{
|
{
|
||||||
fprintf(stderr,"ORPHANED finish txid.%s\n",ptr->txid.GetHex().c_str());
|
fprintf(stderr,"ORPHANED finish txid.%s\n",ptr->txid.GetHex().c_str());
|
||||||
if ( ptr->rawtx.empty() == 0 )
|
dicefinish_delete(ptr);
|
||||||
ptr->rawtx.clear();
|
continue;
|
||||||
ptr->txid = zeroid;
|
//if ( ptr->rawtx.empty() == 0 )
|
||||||
|
// ptr->rawtx.clear();
|
||||||
|
//ptr->txid = zeroid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( ptr->bettxid_ready != 0 )
|
if ( ptr->bettxid_ready != 0 )
|
||||||
@@ -488,7 +490,7 @@ void DiceQueue(int32_t iswin,uint64_t sbits,uint256 fundingtxid,uint256 bettxid,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
fprintf(stderr,"DiceQueue status bettxid.%s already in list\n",bettxid.GetHex().c_str());
|
fprintf(stderr,"DiceQueue status bettxid.%s already in list\n",bettxid.GetHex().c_str());
|
||||||
//_dicehash_clear(bettxid);
|
_dicehash_clear(bettxid);
|
||||||
}
|
}
|
||||||
pthread_mutex_unlock(&DICE_MUTEX);
|
pthread_mutex_unlock(&DICE_MUTEX);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user