From 28e42c576d411d55d1bbdec5ccf56d298158c6ec Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 1 Aug 2018 01:50:18 -1100 Subject: [PATCH] Test --- 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 c6801f98d..9cd0cb2a6 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -598,7 +598,7 @@ uint64_t DicePlanFunds(uint64_t &entropyval,uint256 &entropytxid,uint64_t refsbi { if ( fundingPubKey == tx.vout[1].scriptPubKey ) { - if ( funcid == 'E' ) + if ( funcid == 'E' && fundingtxid != tx.vin[0].prevout.hash ) { if ( GetTransaction(tx.vin[0].prevout.hash,vinTx,hashBlock,false) == 0 ) {