diff options
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 0d3688c76..a88c35638 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -775,7 +775,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; |