From 435e20c288ddb3555056396b1d59d090e3ca2b90 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 27 Jul 2018 02:10:51 -1100 Subject: [PATCH] Fix --- 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 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)); }