Merge pull request #1888

d5fbfd67 daemon: fix missing close parenthesis in alt_chain_info output (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-03-18 21:56:17 +02:00
commit af82836ac6
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -1482,7 +1482,7 @@ bool t_rpc_command_executor::alt_chain_info()
{ {
uint64_t start_height = (chain.height - chain.length + 1); uint64_t start_height = (chain.height - chain.length + 1);
tools::msg_writer() << chain.length << " blocks long, from height " << start_height << " (" << (ires.height - start_height - 1) tools::msg_writer() << chain.length << " blocks long, from height " << start_height << " (" << (ires.height - start_height - 1)
<< " deep, diff " << chain.difficulty << ": " << chain.block_hash; << " deep), diff " << chain.difficulty << ": " << chain.block_hash;
} }
return true; return true;
} }