From 744882bedf9b198edabf16fe7b7c2010b6c79e94 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 2 Nov 2018 05:09:29 -1100 Subject: [PATCH] Fix txfee for dice finish --- 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 c5bebeba0..58dac192e 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -1025,7 +1025,7 @@ std::string DiceBetFinish(int32_t *resultp,uint64_t txfee,char *planstr,uint256 winlosetimeout = 0; } } - if ( AddNormalinputs(mtx,mypk,txfee,1) == 0 ) + if ( AddNormalinputs(mtx,mypk,2*txfee,1) == 0 ) { CCerror = "no txfee inputs for win/lose"; fprintf(stderr,"%s\n", CCerror.c_str() );