Fix compiler issue

This commit is contained in:
jl777
2018-07-25 04:14:23 -11:00
parent 7304b4652f
commit 2e84ef9136
2 changed files with 2 additions and 2 deletions

View File

@@ -245,7 +245,7 @@ std::string RewardsFund(uint64_t txfee,char *planstr,uint64_t funds,uint64_t APR
mypk = pubkey2pk(Mypubkey());
rewardspk = GetUnspendable(cp,0);
funding = RewardsPlanFunds(sbits,cp,rewardspk,planstr);
if ( AddNormalinputs(mtx,mypk,funds+2*txfee,64) > 0 )
if ( AddNormalinputs(mtx,mypk,funds+txfee,64) > 0 )
{
mtx.vout.push_back(MakeCC1vout(cp->evalcode,funds,rewardspk));
mtx.vout.push_back(CTxOut(APR,CScript() << ParseHex(HexStr(rewardspk)) << OP_CHECKSIG));