fix: show correct amount in key image file checker

This commit is contained in:
moneroexamples 2016-11-28 10:24:14 +08:00
parent e7c542146e
commit be0d868198

View file

@ -2167,9 +2167,9 @@ public:
if (it != tx_key_imgs.end())
{
uint64_t xmr_amount = XMR_AMOUNT((*it).amount);
uint64_t xmr_amount = (*it).amount;
key_img_info["amount"] = xmreg::xmr_amount_to_str(xmr_amount);
total_xmr += (*it).amount;
total_xmr += xmr_amount;
}
key_img_info["timestamp"] = xmreg::timestamp_to_str(blk_timestamp);