Fix txfee for dice finish

This commit is contained in:
jl777
2018-11-02 05:09:29 -11:00
parent fa2254513b
commit 744882bedf

View File

@@ -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() );