This commit is contained in:
jl777
2018-07-31 03:11:37 -11:00
parent 7377f6eaa7
commit 6c23815336

View File

@@ -15,7 +15,7 @@
#include "CCdice.h" #include "CCdice.h"
// timeout, validate, autoqueue // timeout, validate
/* /*
in order to implement a dice game, we need a source of entropy, reasonably fast completion time and a way to manage the utxos. in order to implement a dice game, we need a source of entropy, reasonably fast completion time and a way to manage the utxos.
@@ -124,7 +124,7 @@ void *dicefinish(void *_ptr)
bidtxids[rand() % i] = ptr->bidtxid; bidtxids[rand() % i] = ptr->bidtxid;
} }
unstringbits(name,ptr->sbits); unstringbits(name,ptr->sbits);
fprintf(stderr,"duplicate.%d dicefinish.%d %s funding.%s bid.%d\n",duplicate,ptr->iswin,name,uint256_str(str,ptr->fundingtxid),uint256_str(str2,ptr->bidtxid)); fprintf(stderr,"duplicate.%d dicefinish.%d %s funding.%s bid.%s\n",duplicate,ptr->iswin,name,uint256_str(str,ptr->fundingtxid),uint256_str(str2,ptr->bidtxid));
free(ptr); free(ptr);
return(0); return(0);
} }