Remove unused variable

This commit is contained in:
Jason Rhinelander 2022-02-10 16:04:40 -04:00
parent 47ff596533
commit 2821f5f4ef
No known key found for this signature in database
GPG Key ID: C4992CE7A88D4262
1 changed files with 0 additions and 2 deletions

View File

@ -1308,7 +1308,6 @@ namespace cryptonote
//auto lock = incoming_tx_lock();
uint8_t version = m_blockchain_storage.get_network_version();
bool ok = true;
bool tx_pool_changed = false;
if (blink_rollback_height)
*blink_rollback_height = 0;
tx_pool_options tx_opts;
@ -1335,7 +1334,6 @@ namespace cryptonote
}
if (m_mempool.add_tx(info.tx, info.tx_hash, *info.blob, weight, info.tvc, *local_opts, version, blink_rollback_height))
{
tx_pool_changed |= info.tvc.m_added_to_pool;
MDEBUG("tx added: " << info.tx_hash);
}
else