mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 03:03:17 +00:00
Merge pull request #5997
37cccb8
db_lmdb: an empty prunable data record means the tx is not pruned (moneromooo-monero)
This commit is contained in:
commit
5f6a06e74c
1 changed files with 0 additions and 2 deletions
|
@ -2994,8 +2994,6 @@ bool BlockchainLMDB::get_tx_blob(const crypto::hash& h, cryptonote::blobdata &bd
|
||||||
return false;
|
return false;
|
||||||
else if (get_result)
|
else if (get_result)
|
||||||
throw0(DB_ERROR(lmdb_error("DB error attempting to fetch tx from hash", get_result).c_str()));
|
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.assign(reinterpret_cast<char*>(result0.mv_data), result0.mv_size);
|
||||||
bd.append(reinterpret_cast<char*>(result1.mv_data), result1.mv_size);
|
bd.append(reinterpret_cast<char*>(result1.mv_data), result1.mv_size);
|
||||||
|
|
Loading…
Reference in a new issue