diff --git a/src/cc/rewards.cpp b/src/cc/rewards.cpp index ca7fa23b0..aba38da51 100644 --- a/src/cc/rewards.cpp +++ b/src/cc/rewards.cpp @@ -284,7 +284,7 @@ UniValue RewardsList() txid = it->first.txhash; if ( GetTransaction(txid,vintx,hashBlock,false) != 0 ) { - if ( vintx.vout.size() > 0 && DecodeRewardsCreateOpRet(vintx.vout[vintx.vout.size()-1].scriptPubKey,origpubkey,name,description) != 0 ) + if ( vintx.vout.size() > 0 && DecodeRewardsFundingOpRet(vintx.vout[vintx.vout.size()-1].scriptPubKey,origpubkey,name,description) != 0 ) { result.push_back(uint256_str(str,txid)); }