mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
Fix for txpool: Failed to parse transaction from blob
https://github.com/moneroexamples/onion-monero-blockchain-explorer/ issues/152
This commit is contained in:
parent
0d8b568579
commit
ce6f81fd2a
1 changed files with 3 additions and 0 deletions
|
@ -113,6 +113,7 @@ MempoolStatus::read_mempool()
|
|||
//std::vector<tx_info> pool_tx_info;
|
||||
std::vector<spent_key_image_info> 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue