mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
core_rpc_server: remove dummy assigning int to bool
Coverity 197653
This commit is contained in:
parent
37345921ec
commit
e1b097b99b
1 changed files with 1 additions and 3 deletions
|
@ -1393,11 +1393,9 @@ namespace cryptonote
|
||||||
submit_req.push_back(boost::value_initialized<std::string>());
|
submit_req.push_back(boost::value_initialized<std::string>());
|
||||||
res.height = m_core.get_blockchain_storage().get_current_blockchain_height();
|
res.height = m_core.get_blockchain_storage().get_current_blockchain_height();
|
||||||
|
|
||||||
bool r = CORE_RPC_STATUS_OK;
|
|
||||||
|
|
||||||
for(size_t i = 0; i < req.amount_of_blocks; i++)
|
for(size_t i = 0; i < req.amount_of_blocks; i++)
|
||||||
{
|
{
|
||||||
r = on_getblocktemplate(template_req, template_res, error_resp, ctx);
|
bool r = on_getblocktemplate(template_req, template_res, error_resp, ctx);
|
||||||
res.status = template_res.status;
|
res.status = template_res.status;
|
||||||
template_req.prev_block.clear();
|
template_req.prev_block.clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue