Skip to content

Commit 5e972b2

Browse files
committed
Merge 29e62db into merged_master (Elements PR ElementsProject#1195)
2 parents 96c650b + 29e62db commit 5e972b2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/rpc/util.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,8 +586,6 @@ UniValue RPCHelpMan::HandleRequest(const JSONRPCRequest& request) const
586586
throw std::runtime_error(ToString());
587587
}
588588
const UniValue ret = m_fun(*this, request);
589-
if (!std::any_of(m_results.m_results.begin(), m_results.m_results.end(), [ret](const RPCResult& res) { return res.MatchesType(ret); })) {
590-
}
591589
CHECK_NONFATAL(std::any_of(m_results.m_results.begin(), m_results.m_results.end(), [ret](const RPCResult& res) { return res.MatchesType(ret); }));
592590
return ret;
593591
}

0 commit comments

Comments
 (0)