diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-02-06 00:30:47 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-02-06 00:30:48 -0800 |
commit | 78d4d5ab7902c89f72e265ca109306fa9366ea14 (patch) | |
tree | 9a71f534aa0648f0e8474818a3ee3df59fa2898c /src/blockchain_utilities | |
parent | Merge pull request #6078 (diff) | |
parent | blockchain_stats: make it work on pruned blockchains (diff) | |
download | monero-78d4d5ab7902c89f72e265ca109306fa9366ea14.tar.xz |
Merge pull request #6094
236d2a88 blockchain_stats: make it work on pruned blockchains (moneromooo-monero)
Diffstat (limited to 'src/blockchain_utilities')
-rw-r--r-- | src/blockchain_utilities/blockchain_stats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blockchain_utilities/blockchain_stats.cpp b/src/blockchain_utilities/blockchain_stats.cpp index 2f66d54aa..0d18b8819 100644 --- a/src/blockchain_utilities/blockchain_stats.cpp +++ b/src/blockchain_utilities/blockchain_stats.cpp @@ -264,12 +264,12 @@ skip: { throw std::runtime_error("Aborting: tx == null_hash"); } - if (!db->get_tx_blob(tx_id, bd)) + if (!db->get_pruned_tx_blob(tx_id, bd)) { throw std::runtime_error("Aborting: tx not found"); } transaction tx; - if (!parse_and_validate_tx_from_blob(bd, tx)) + if (!parse_and_validate_tx_base_from_blob(bd, tx)) { LOG_PRINT_L0("Bad txn from db"); return 1; |