mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Remove redundant check
This commit is contained in:
parent
a6fc8392c9
commit
64d851c1e8
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ bool t_rpc_command_executor::print_blockchain_info(int64_t start_block_index, ui
|
|||
return true;
|
||||
}
|
||||
}
|
||||
if (start_block_index < 0 && (uint64_t)-start_block_index >= ires.height)
|
||||
if ((uint64_t)-start_block_index >= ires.height)
|
||||
{
|
||||
tools::fail_msg_writer() << "start offset is larger than blockchain height";
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue