From 6986a67b5c41c7c7c2dfc9039de263c412fb70e3 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 15 Aug 2018 00:23:23 -1100 Subject: [PATCH] Syntax --- 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 52bc82a7d..3c6b72ff2 100644 --- a/src/cc/rewards.cpp +++ b/src/cc/rewards.cpp @@ -325,12 +325,12 @@ int64_t AddRewardsInputs(CScript &scriptPubKey,uint64_t maxseconds,struct CCcont { if ( sbits != refsbits || fundingtxid != reffundingtxid ) continue; - fprintf(stderr,"fundsflag.%d (%c) %.8f %.8f\n",fundsflag,funcid,(double)tx.vout[vout].nValue/COIN,(double)it->second.satoshis/COIN); + fprintf(stderr,"maxseconds.%d (%c) %.8f %.8f\n",(int32_t)maxseconds,funcid,(double)tx.vout[vout].nValue/COIN,(double)it->second.satoshis/COIN); if ( maxseconds == 0 && funcid != 'F' && funcid != 'A' && funcid != 'U' ) continue; else if ( maxseconds != 0 && funcid != 'L' ) { - if ( CCduration(numblocks,txid)) < maxseconds ) + if ( CCduration(numblocks,txid) < maxseconds ) continue; } if ( total != 0 && maxinputs != 0 )