diff --git a/src/MempoolStatus.cpp b/src/MempoolStatus.cpp index 0778a47..04697ff 100644 --- a/src/MempoolStatus.cpp +++ b/src/MempoolStatus.cpp @@ -113,6 +113,7 @@ MempoolStatus::read_mempool() //std::vector pool_tx_info; std::vector pool_key_image_info; + // get txpool from lmdb database instead of rpc call if (!mcore->get_mempool().get_transactions_and_spent_keys_info( mempool_tx_info, pool_key_image_info)) @@ -121,6 +122,8 @@ MempoolStatus::read_mempool() return false; } + (void) pool_key_image_info; + // if dont have tx_blob member, construct tx // from json obtained from the rpc call