diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-10-24 10:52:04 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-10-24 10:52:04 -0500 |
commit | 5f6a06e74cd6ce0a4e3e5bda6dadb1f1384fbc90 (patch) | |
tree | 30aeefe2c617702a3f169a98b22c7ebaebbf4af7 | |
parent | Merge pull request #5973 (diff) | |
parent | db_lmdb: an empty prunable data record means the tx is not pruned (diff) | |
download | monero-5f6a06e74cd6ce0a4e3e5bda6dadb1f1384fbc90.tar.xz |
Merge pull request #5997
37cccb8 db_lmdb: an empty prunable data record means the tx is not pruned (moneromooo-monero)
-rw-r--r-- | src/blockchain_db/lmdb/db_lmdb.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.cpp b/src/blockchain_db/lmdb/db_lmdb.cpp index 8e2b5bebf..f978ef307 100644 --- a/src/blockchain_db/lmdb/db_lmdb.cpp +++ b/src/blockchain_db/lmdb/db_lmdb.cpp @@ -2994,8 +2994,6 @@ bool BlockchainLMDB::get_tx_blob(const crypto::hash& h, cryptonote::blobdata &bd return false; else if (get_result) throw0(DB_ERROR(lmdb_error("DB error attempting to fetch tx from hash", get_result).c_str())); - else if (result1.mv_size == 0) - return false; bd.assign(reinterpret_cast<char*>(result0.mv_data), result0.mv_size); bd.append(reinterpret_cast<char*>(result1.mv_data), result1.mv_size); |