mirror of
https://github.com/monero-project/monero.git
synced 2026-01-01 15:36:08 -08:00
fuzz: fix some warnings
This commit is contained in:
@@ -338,13 +338,10 @@ bool generate_random_blocks(cryptonote::core& core, FuzzedDataProvider& provider
|
||||
}
|
||||
}
|
||||
|
||||
bool added_txs = false;
|
||||
for (const auto& tx_blob : cached_txs) {
|
||||
cryptonote::tx_verification_context tvc;
|
||||
bool accepted = core.handle_incoming_tx(tx_blob, tvc, cryptonote::relay_method::block, true);
|
||||
if (accepted || tvc.m_added_to_pool) {
|
||||
added_txs = true;
|
||||
|
||||
// Store legit hashes
|
||||
cryptonote::transaction tx;
|
||||
if (cryptonote::parse_and_validate_tx_from_blob(tx_blob, tx)) {
|
||||
|
||||
Reference in New Issue
Block a user