mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
Merge pull request #110 from stoffu/dont-use-question-for-total-fees
Don't use question mark for 0 total fees in empty blocks
This commit is contained in:
commit
30bbec104b
1 changed files with 1 additions and 1 deletions
|
@ -1253,7 +1253,7 @@ public:
|
|||
|
||||
// add total fees in the block to the context
|
||||
context["sum_fees"]
|
||||
= xmreg::xmr_amount_to_str(sum_fees, "{:0.6f}", "0");
|
||||
= xmreg::xmr_amount_to_str(sum_fees, "{:0.6f}", false);
|
||||
|
||||
// get xmr in the block reward
|
||||
context["blk_reward"]
|
||||
|
|
Loading…
Reference in a new issue