Fix
This commit is contained in:
@@ -25,6 +25,6 @@ bool RewardsValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &t
|
||||
|
||||
std::string RewardsFund(uint64_t txfee,char *planstr,uint64_t funds,uint64_t APR,uint64_t minseconds,uint64_t maxseconds,uint64_t mindeposit);
|
||||
std::string RewardsLock(uint64_t txfee,char *planstr,uint64_t amount);
|
||||
std::string RewardsUnlock(uint64_t txfee);
|
||||
std::string RewardsUnlock(uint64_t txfee,char *planstr,uint256 txid);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user