From 4f839b5c9cbafbb8afb7f79d8c26f7683b8f182e Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 27 Jul 2018 23:10:00 -1100 Subject: [PATCH] Test --- src/cc/rewards.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/rewards.cpp b/src/cc/rewards.cpp index e6cc9e9a0..7975bf6fe 100644 --- a/src/cc/rewards.cpp +++ b/src/cc/rewards.cpp @@ -451,7 +451,7 @@ std::string RewardsUnlock(uint64_t txfee,char *planstr,uint256 fundingtxid,uint2 } // need to deal with finding the right utxos if ( locktxid == zeroid ) - amount = AddRewardsInputs(scriptPubkey,0,cp,mtx,rewardspk,(1LL << 30),1); + amount = AddRewardsInputs(scriptPubKey,0,cp,mtx,rewardspk,(1LL << 30),1); else { GetCCaddress(cp,coinaddr,rewardspk); @@ -462,7 +462,7 @@ std::string RewardsUnlock(uint64_t txfee,char *planstr,uint256 fundingtxid,uint2 } if ( GetTransaction(locktxid,tx,hashBlock,false) != 0 && tx.vout.size() > 0 && tx.vout[1].scriptPubKey.IsPayToCryptoCondition() == 0 ) { - scriptPubkey = tx.vout[1].scriptPubKey; + scriptPubKey = tx.vout[1].scriptPubKey; mtx.vin.push_back(CTxIn(locktxid,0,CScript())); } else