From 42080831038cf40a6a176050c4062c782381ee2e Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 25 Aug 2018 09:20:57 -1100 Subject: [PATCH] +print --- src/cc/rewards.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cc/rewards.cpp b/src/cc/rewards.cpp index 33c5f01d4..d50b9ffb3 100644 --- a/src/cc/rewards.cpp +++ b/src/cc/rewards.cpp @@ -244,6 +244,8 @@ bool RewardsValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &t //vout.0: funding CC change or recover normal payout //vout.1: normal output to unlock address //vout.n-1: opreturn 'U' sbits fundingtxid + char str[65],str2[65]; + fprintf(stderr,"funding.%s vs %s\n",uint256_str(str,fundingtxid),uint256_str(str2,txid)); if ( fundingtxid == txid ) return eval->Invalid("cant unlock fundingtxid"); else if ( eval->GetTxUnconfirmed(tx.vin[0].prevout.hash,vinTx,hashBlock) == 0 )