Skip to content

Commit c6f2ccd

Browse files
committed
vtnerd review 2025
1 parent 55d68e3 commit c6f2ccd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cryptonote_core/blockchain.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2082,7 +2082,7 @@ bool Blockchain::handle_alternative_block(const block& b, const crypto::hash& id
20822082
const blobdata &tx_blob = extra_block_tx.second.second;
20832083

20842084
tx_verification_context tvc{};
2085-
if ((!m_tx_pool.have_tx(txid, relay_category::all) &&
2085+
if ((!m_tx_pool.have_tx(txid, relay_category::legacy) &&
20862086
!m_db->tx_exists(txid) &&
20872087
!m_tx_pool.add_tx(tx, tvc, relay_method::block, /*relayed=*/true, hf_version, hf_version))
20882088
|| tvc.m_verifivation_failed)
@@ -5463,7 +5463,7 @@ void Blockchain::notify_txpool_event(std::vector<txpool_event>&& event)
54635463
{
54645464
try
54655465
{
5466-
m_txpool_notifier(event);
5466+
m_txpool_notifier(std::move(event));
54675467
}
54685468
catch (const std::exception &e)
54695469
{

0 commit comments

Comments
 (0)