fix: show_my_outputs does not depend on custom lmdb now
This commit is contained in:
parent
2f5b0fe6b6
commit
7b3c840231
13
src/page.h
13
src/page.h
|
@ -1335,13 +1335,6 @@ public:
|
|||
|
||||
bool show_key_images {false};
|
||||
|
||||
unique_ptr<xmreg::MyLMDB> mylmdb;
|
||||
|
||||
if (bf::is_directory(lmdb2_path))
|
||||
{
|
||||
mylmdb = make_unique<xmreg::MyLMDB>(lmdb2_path);
|
||||
}
|
||||
|
||||
mstch::array inputs;
|
||||
|
||||
vector<txin_to_key> 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<uint64_t> absolute_offsets
|
||||
= cryptonote::relative_output_offsets_to_absolute(
|
||||
|
|
Loading…
Reference in New Issue