From 1d0c776260a9cd9bdffa981e145db5537064fa60 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 27 Jul 2018 05:26:30 -1100 Subject: [PATCH] Test --- src/cc/rewards.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/rewards.cpp b/src/cc/rewards.cpp index 8b51fc6cd..b9cd074c6 100644 --- a/src/cc/rewards.cpp +++ b/src/cc/rewards.cpp @@ -418,7 +418,7 @@ std::string RewardsUnlock(uint64_t txfee,char *planstr,uint256 fundingtxid,uint2 amount = AddRewardsInputs(0,cp,mtx,rewardspk,(1LL << 30),1); else { - GetCCaddress(cp,coinaddr,mypk); + GetCCaddress(cp,coinaddr,rewardspk); if ( (amount= CCutxovalue(coinaddr,locktxid,0)) == 0 ) { fprintf(stderr,"%s locktxid/v0 is spent\n",coinaddr);