From be0d868198b9f5ead53227c76be3ee19af9c9958 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Mon, 28 Nov 2016 10:24:14 +0800 Subject: [PATCH] fix: show correct amount in key image file checker --- src/page.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/page.h b/src/page.h index ac43da7..5437201 100644 --- a/src/page.h +++ b/src/page.h @@ -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);