From 3fb115a5a06dbf7258eb9351daa8599d9a9866e6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 10 Nov 2018 03:32:29 -1100 Subject: [PATCH] Test --- src/cc/dice.cpp | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 034977a1d..98a507ea0 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -102,7 +102,7 @@ What is needed is for the dealer node to track the entropy tx that was already b extern int32_t KOMODO_INSYNC; -static uint256 bettxids[MAX_ENTROPYUSED],entropytxids[MAX_ENTROPYUSED][2]; // change to hashtable +static uint256 bettxids[MAX_ENTROPYUSED],entropyused[MAX_ENTROPYUSED][2]; // change to hashtable static CTransaction betTxs[MAX_ENTROPYUSED]; static int32_t entropyvouts[MAX_ENTROPYUSED]; @@ -161,15 +161,18 @@ int32_t _dicerevealed_find(uint256 &oldbettxid,CTransaction &oldbetTx,int32_t &o int32_t i; for (i=0; i