daemon.print_bc: don't print difficulty twice
This commit is contained in:
parent
702a41034d
commit
3940e12933
|
@ -557,7 +557,7 @@ bool t_rpc_command_executor::print_blockchain_info(uint64_t start_block_index, u
|
||||||
if (!first)
|
if (!first)
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
std::cout
|
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
|
<< ", size: " << header.block_size << ", transactions: " << header.num_txes << std::endl
|
||||||
<< "major version: " << (unsigned)header.major_version << ", minor version: " << (unsigned)header.minor_version << 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
|
<< "block id: " << header.hash << ", previous block id: " << header.prev_hash << std::endl
|
||||||
|
|
Loading…
Reference in New Issue