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

This commit is contained in:
stoffu
2018-04-06 11:50:38 +09:00
parent 0e8da07a06
commit 8a64169f28
+1 -1
View File
@@ -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"]