From e057cde6ea39445307304c9e4c66a7d13e78cdb0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 6 Nov 2018 02:28:05 -1100 Subject: [PATCH] Prevent double spending entropy --- src/cc/dice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index b7f97725d..e864612f1 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -131,9 +131,9 @@ bool mySenddicetransaction(std::string res,uint256 entropyused,uint256 bettxid) LOCK(cs_main); if ( myAddtomempool(tx) != 0 ) { - RelayTransaction(tx); if ( DiceEntropyUsed(entropyused,bettxid) == 0 ) { + RelayTransaction(tx); for (i=0; i