This commit is contained in:
jl777
2018-07-24 07:44:11 -11:00
parent 1f658f5912
commit f0f5f6c09b
3 changed files with 34 additions and 28 deletions

View File

@@ -174,7 +174,7 @@ uint64_t RewardsPlanFunds(uint64_t &refsbits,struct CCcontract_info *cp,CPubKey
return(totalinputs);
}
std::string RewardsUnlock(uint64_t txfee)
std::string RewardsUnlock(uint64_t txfee,char *planstr,uint256 txid)
{
CMutableTransaction mtx; CPubKey mypk,rewardspk; CScript opret; uint64_t reward,amount,inputs,CCchange=0; struct CCcontract_info *cp,C;
cp = CCinit(&C,EVAL_REWARDS);