mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00: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:
parent
4bac6731d5
commit
afd168cd6c
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue