Test
This commit is contained in:
@@ -1318,7 +1318,7 @@ std::string DiceBetFinish(uint8_t &funcid,uint256 &entropyused,int32_t *resultp,
|
||||
if ( myGetTransaction(bettxid,betTx,hashBlock) != 0 && myGetTransaction(betTx.vin[0].prevout.hash,entropyTx,hashBlock) != 0 )
|
||||
{
|
||||
entropytxid = betTx.vin[0].prevout.hash;
|
||||
if ( dice_betspent((char *)"DiceBetFinish",bettxid) != 0 )
|
||||
if ( dice_betspent((char *)"DiceBetFinish",bettxid) > 0 )
|
||||
{
|
||||
CCerror = "bettxid already spent";
|
||||
fprintf(stderr,"%s\n", CCerror.c_str() );
|
||||
|
||||
Reference in New Issue
Block a user