Don't use question mark for 0 total fees in empty blocks

master
stoffu 7 years ago
parent 0e8da07a06
commit 8a64169f28
No known key found for this signature in database
GPG Key ID: 41DAB8343A9EC012

@ -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…
Cancel
Save