From f0271ce8e15339fb8ba4716051f2c51432343f75 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Thu, 12 Jan 2017 01:51:24 +0000 Subject: [PATCH] scaning for our mixins in key images disabled for now --- src/page.h | 5 ++++- src/tools.cpp | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/page.h b/src/page.h index 06caedb..7b717c4 100644 --- a/src/page.h +++ b/src/page.h @@ -1443,6 +1443,9 @@ public: uint64_t amount = std::get<1>(mix_out); uint64_t output_idx_in_tx = std::get<2>(mix_out); + //@todo fix this for loop + continue; + // if (mix_out.first.key != output_data.pubkey) // { // continue; @@ -1478,7 +1481,7 @@ public: if (!r) { - cerr << "Cant decode ringCT!" << endl; + cerr << "show_my_outputs: key images: Cant decode ringCT!" << endl; } // cointbase txs have amounts in plain sight. diff --git a/src/tools.cpp b/src/tools.cpp index 8efed77..ebda401 100644 --- a/src/tools.cpp +++ b/src/tools.cpp @@ -754,7 +754,7 @@ decode_ringct(const rct::rctSig& rv, return false; } } - catch (const std::exception &e) + catch (...) { cerr << "Failed to decode input " << i << endl; return false;