From 7b3c840231bec43bb0c77f15b97229b94db0e282 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Thu, 19 Jan 2017 23:38:28 +0000 Subject: [PATCH] fix: show_my_outputs does not depend on custom lmdb now --- src/page.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/page.h b/src/page.h index b28dfdf..2f8238e 100644 --- a/src/page.h +++ b/src/page.h @@ -1335,13 +1335,6 @@ public: bool show_key_images {false}; - unique_ptr mylmdb; - - if (bf::is_directory(lmdb2_path)) - { - mylmdb = make_unique(lmdb2_path); - } - mstch::array inputs; vector input_key_imgs = xmreg::get_key_images(tx); @@ -1351,12 +1344,6 @@ public: for (const txin_to_key& in_key: input_key_imgs) { - if (!mylmdb) - { - show_key_images = false; - break; - } - // get absolute offsets of mixins std::vector absolute_offsets = cryptonote::relative_output_offsets_to_absolute(