diff options
author | stoffu <stoffu@protonmail.ch> | 2018-07-24 16:17:49 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-07-24 16:17:49 +0900 |
commit | 3940e12933c4ca223dace66a17ffda84a68a9475 (patch) | |
tree | 4f0ea3d72eaa8c277cca268897de39e690f6d659 /src/daemon | |
parent | Merge pull request #4088 (diff) | |
download | monero-3940e12933c4ca223dace66a17ffda84a68a9475.tar.xz |
daemon.print_bc: don't print difficulty twice
Diffstat (limited to 'src/daemon')
-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 e2b42c806..45ba81e16 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -557,7 +557,7 @@ bool t_rpc_command_executor::print_blockchain_info(uint64_t start_block_index, u if (!first) std::cout << std::endl; std::cout - << "height: " << header.height << ", timestamp: " << header.timestamp << ", difficulty: " << header.difficulty + << "height: " << header.height << ", timestamp: " << header.timestamp << ", size: " << header.block_size << ", transactions: " << header.num_txes << std::endl << "major version: " << (unsigned)header.major_version << ", minor version: " << (unsigned)header.minor_version << std::endl << "block id: " << header.hash << ", previous block id: " << header.prev_hash << std::endl |