diff --git a/src/cc/rewards.cpp b/src/cc/rewards.cpp index bfb4854d6..4f957dca3 100644 --- a/src/cc/rewards.cpp +++ b/src/cc/rewards.cpp @@ -214,7 +214,7 @@ uint64_t RewardsPlanFunds(uint64_t &refsbits,struct CCcontract_info *cp,CPubKey std::string RewardsUnlock(uint64_t txfee,char *planstr,uint256 txid) { - CMutableTransaction mtx; CPubKey mypk,rewardspk; CScript opret; uint64_t funding,reward,amount,inputs,CCchange=0; struct CCcontract_info *cp,C; + CMutableTransaction mtx; CPubKey mypk,rewardspk; CScript opret; uint64_t funding,sbits,reward,amount,inputs,CCchange=0; struct CCcontract_info *cp,C; cp = CCinit(&C,EVAL_REWARDS); if ( txfee == 0 ) txfee = 10000;