From a9fef224190a36eb892b9dd88614b3e6688254c2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 7 Nov 2018 09:54:07 -1100 Subject: [PATCH] Test --- src/cc/dice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 365ae2181..bd5c3a185 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -739,7 +739,7 @@ uint64_t AddDiceInputs(struct CCcontract_info *cp,CMutableTransaction &mtx,CPubK { txid = it->first.txhash; vout = (int32_t)it->first.index; - if ( it->second.satoshis < threshold ) + if ( vout != 0 || it->second.satoshis < threshold ) continue; //fprintf(stderr,"(%s) %s/v%d %.8f\n",coinaddr,uint256_str(str,txid),vout,(double)it->second.satoshis/COIN); for (j=0; jsecond.satoshis;