Merge pull request #110 from stoffu/dont-use-question-for-total-fees

Don't use question mark for 0 total fees in empty blocks
master
moneroexamples 7 years ago committed by GitHub
commit 30bbec104b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1253,7 +1253,7 @@ public:
// add total fees in the block to the context // add total fees in the block to the context
context["sum_fees"] 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 // get xmr in the block reward
context["blk_reward"] context["blk_reward"]

Loading…
Cancel
Save