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:
moneroexamples 2018-04-06 11:00:26 +08:00 committed by GitHub
commit 30bbec104b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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"]