forked from such-gitea/wownero
Merge pull request #4946
6644b9bblockchain_db: remove a couple unused functions (moneromooo-monero)ce594f5blockchain_db: allocate known size vector only once (moneromooo-monero)8332698db_lmdb: inline check_open, it's trivial and called everywhere (moneromooo-monero)5511563db_lmdb: avoid pointless division (moneromooo-monero)d1efe3dcryptonote: set tx hash on newly parsed txes when known (moneromooo-monero)9cc68a2tx_pool: add a few std::move where it can make a difference (moneromooo-monero)
This commit is contained in:
@@ -184,6 +184,7 @@ namespace cryptonote
|
||||
CHECK_AND_ASSERT_MES(r, false, "Failed to parse transaction from blob");
|
||||
CHECK_AND_ASSERT_MES(expand_transaction_1(tx, false), false, "Failed to expand transaction data");
|
||||
tx.invalidate_hashes();
|
||||
tx.set_blob_size(tx_blob.size());
|
||||
return true;
|
||||
}
|
||||
//---------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user