mempool xmr shown to 3th decimal place

master
moneroexamples 8 years ago
parent 667353ec11
commit 69d81a0949

@ -736,8 +736,8 @@ public:
{"age" , age_str}, {"age" , age_str},
{"hash" , fmt::format("{:s}", _tx_info.id_hash)}, {"hash" , fmt::format("{:s}", _tx_info.id_hash)},
{"fee" , xmreg::xmr_amount_to_str(_tx_info.fee , "{:0.3f}")}, {"fee" , xmreg::xmr_amount_to_str(_tx_info.fee , "{:0.3f}")},
{"xmr_inputs" , xmreg::xmr_amount_to_str(sum_inputs.first , "{:0.2f}")}, {"xmr_inputs" , xmreg::xmr_amount_to_str(sum_inputs.first , "{:0.3f}")},
{"xmr_outputs" , xmreg::xmr_amount_to_str(sum_outputs.first, "{:0.2f}")}, {"xmr_outputs" , xmreg::xmr_amount_to_str(sum_outputs.first, "{:0.3f}")},
{"no_inputs" , sum_inputs.second}, {"no_inputs" , sum_inputs.second},
{"no_outputs" , sum_outputs.second}, {"no_outputs" , sum_outputs.second},
{"is_ringct" , is_ringct_str}, {"is_ringct" , is_ringct_str},

Loading…
Cancel
Save