mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
fix: show_my_outputs does not depend on custom lmdb now
This commit is contained in:
parent
2f5b0fe6b6
commit
7b3c840231
1 changed files with 0 additions and 13 deletions
13
src/page.h
13
src/page.h
|
@ -1335,13 +1335,6 @@ public:
|
||||||
|
|
||||||
bool show_key_images {false};
|
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;
|
mstch::array inputs;
|
||||||
|
|
||||||
vector<txin_to_key> input_key_imgs = xmreg::get_key_images(tx);
|
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)
|
for (const txin_to_key& in_key: input_key_imgs)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!mylmdb)
|
|
||||||
{
|
|
||||||
show_key_images = false;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
// get absolute offsets of mixins
|
// get absolute offsets of mixins
|
||||||
std::vector<uint64_t> absolute_offsets
|
std::vector<uint64_t> absolute_offsets
|
||||||
= cryptonote::relative_output_offsets_to_absolute(
|
= cryptonote::relative_output_offsets_to_absolute(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue