Skip to content

Commit

Permalink
vtnerd review 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffro256 committed Jan 28, 2025
1 parent 55d68e3 commit c6f2ccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cryptonote_core/blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,7 @@ bool Blockchain::handle_alternative_block(const block& b, const crypto::hash& id
const blobdata &tx_blob = extra_block_tx.second.second;

tx_verification_context tvc{};
if ((!m_tx_pool.have_tx(txid, relay_category::all) &&
if ((!m_tx_pool.have_tx(txid, relay_category::legacy) &&
!m_db->tx_exists(txid) &&
!m_tx_pool.add_tx(tx, tvc, relay_method::block, /*relayed=*/true, hf_version, hf_version))
|| tvc.m_verifivation_failed)
Expand Down Expand Up @@ -5463,7 +5463,7 @@ void Blockchain::notify_txpool_event(std::vector<txpool_event>&& event)
{
try
{
m_txpool_notifier(event);
m_txpool_notifier(std::move(event));
}
catch (const std::exception &e)
{
Expand Down

0 comments on commit c6f2ccd

Please sign in to comment.