mirror of
https://codeberg.org/wownero/onion-wownero-blockchain-explorer.git
synced 2026-10-17 05:41:26 +02:00
Fix: txpool: Failed to parse transaction from blob
Gets txpool from lmdb now, instead of using RPC call as before. https://github.com/moneroexamples/onion-monero-blockchain-explorer/ issues/152
This commit is contained in:
@@ -110,7 +110,12 @@ MempoolStatus::read_mempool()
|
||||
// get txs in the mempool
|
||||
std::vector<tx_info> mempool_tx_info;
|
||||
|
||||
if (!rpc.get_mempool(mempool_tx_info))
|
||||
//std::vector<tx_info> pool_tx_info;
|
||||
std::vector<spent_key_image_info> pool_key_image_info;
|
||||
|
||||
if (!mcore->get_mempool().get_transactions_and_spent_keys_info(
|
||||
mempool_tx_info,
|
||||
pool_key_image_info))
|
||||
{
|
||||
cerr << "Getting mempool failed " << endl;
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user