From d4c70c4f7ae678d79b38fce67a6e0fda1310ced4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 2 Aug 2018 05:24:47 -1100 Subject: [PATCH] Funding plan creator to auto create entropy tx on dice status --- src/cc/dice.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 8e7dd63f5..ad74fcfef 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -1031,6 +1031,14 @@ double DiceStatus(uint64_t txfee,char *planstr,uint256 fundingtxid,uint256 bettx } } } + if ( scriptPubKey == fundingPubKey ) + { + for (i=0; i<=n; i++) + { + res = DiceAddfunding(txfee,planstr,fundingtxid,COIN); + mySendrawtransaction(res); + } + } return(n); } else