From b89cb9404b1a5a95b0314ea9fa856d55a57f9b6a Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Mon, 18 Apr 2016 05:51:34 +0800 Subject: [PATCH] reward removed from index --- src/page.h | 1 + src/templates/index.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/page.h b/src/page.h index 4cf6ba2..d25c7a8 100644 --- a/src/page.h +++ b/src/page.h @@ -220,6 +220,7 @@ namespace xmreg { {"block_reward", fmt::format("{:0.4f}/{:0.4f}", XMR_AMOUNT(coinbase_tx[1] - sum_fees), XMR_AMOUNT(sum_fees))}, + {"fees" , fmt::format("{:0.4f}", XMR_AMOUNT(sum_fees))}, {"notx" , fmt::format("{:d}", blk.tx_hashes.size())}, {"xmr_inputs" , fmt::format("{:0.2f}", XMR_AMOUNT(sum_xmr_in_out[0]))}, diff --git a/src/templates/index.html b/src/templates/index.html index 68d5b45..d41d06c 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -29,7 +29,7 @@ height age {{age_format}} block hash - reward/fees + fees txs outputs mixins @@ -40,7 +40,7 @@ {{height}} {{age}} {{hash}} - {{block_reward}} + {{fees}} {{notx}} {{xmr_outputs}} {{mixin_range}}