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;