fixed lookahead

This commit is contained in:
Some Random Crypto Guy
2025-10-31 11:37:15 +00:00
parent d5fee31ec6
commit 6fbd3184b1
2 changed files with 5 additions and 2 deletions

View File

@@ -288,7 +288,7 @@ void carrot_and_legacy_account::generate_subaddress_map(const std::pair<size_t,
for (uint32_t major_index = 0; major_index <= lookahead_size.first; ++major_index)
{
for (uint32_t minor_index = 0; minor_index <= lookahead_size.first; ++minor_index)
for (uint32_t minor_index = 0; minor_index <= lookahead_size.second; ++minor_index)
{
for (const AddressDeriveType derive_type : derive_types)
{

View File

@@ -3400,7 +3400,10 @@ void wallet2::process_parsed_blocks(const uint64_t start_height, const std::vect
{
if (tx.vout.empty())
{
MWARNING("Skipping tx without any outputs: " << get_transaction_hash(tx) << ", height: " << m_blockchain.size());
if (tx.type == cryptonote::transaction_type::PROTOCOL)
MDEBUG("Skipping protocol tx without any outputs: " << get_transaction_hash(tx) << ", height: " << m_blockchain.size());
else
MWARNING("Skipping tx without any outputs: " << get_transaction_hash(tx) << ", height: " << m_blockchain.size());
return;
}