From 513b59004f9f89c58c6096ba795c640322cf5964 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Thu, 24 Aug 2017 13:42:13 +0800 Subject: [PATCH] Median block size renamed to Median block size limit --- src/page.h | 2 +- src/templates/index2.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/page.h b/src/page.h index 24a42dc..36ae0f5 100644 --- a/src/page.h +++ b/src/page.h @@ -727,7 +727,7 @@ namespace xmreg string block_size_limit = fmt::format("{:0.2f}", static_cast( - current_network_info.block_size_limit / 2) / 1024.0); + current_network_info.block_size_limit) / 2.0 / 1024.0); context["network_info"] = mstch::map { {"difficulty" , current_network_info.difficulty}, diff --git a/src/templates/index2.html b/src/templates/index2.html index c1fd991..53da4f8 100644 --- a/src/templates/index2.html +++ b/src/templates/index2.html @@ -39,7 +39,7 @@ Network difficulty: {{difficulty}} | Hash rate: {{hash_rate}} | Fee per kb: {{fee_per_kb}} - | Median block size: {{block_size_limit}} kB + | Median block size limit: {{block_size_limit}} kB {{^is_current_info}} | Data from {{age}} {{age_format}} ago {{/is_current_info}}