This commit is contained in:
jl777
2018-07-24 09:07:49 -11:00
parent 4391153705
commit 90a233e9ac

View File

@@ -171,7 +171,7 @@ std::string LottoWinner(uint64_t txfee)
txfee = 10000;
mypk = pubkey2pk(Mypubkey());
Lottopk = GetUnspendable(cp,0);
if ( AddNormalinputs(mtx,mypk,funds+txfee,64) > 0 )
if ( AddNormalinputs(mtx,mypk,txfee,64) > 0 )
{
mtx.vout.push_back(MakeCC1vout(EVAL_LOTTO,funds,Lottopk));
return(FinalizeCCTx(cp,mtx,mypk,txfee,opret));