diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-17 17:34:01 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-17 17:39:05 +0000 |
commit | 37cccb8cfb5bce18d210febd30ce5bef6143acc3 (patch) | |
tree | 74c78c8d43324b532a0e095ccf973593e6e3c2a6 /src/blockchain_db | |
parent | Merge pull request #5990 (diff) | |
download | monero-37cccb8cfb5bce18d210febd30ce5bef6143acc3.tar.xz |
db_lmdb: an empty prunable data record means the tx is not pruned
as opposed to an absent record
Diffstat (limited to 'src/blockchain_db')
-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); |