Merge pull request #111 from moneroexamples/devel

Devel
This commit is contained in:
moneroexamples 2018-04-07 10:41:05 +08:00 committed by GitHub
commit 06ebaa5be9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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