mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
blockchain: update cumulative block limit when popping a block
Avoids possible issues with accepting a tx too large to fit in an actual block. Reported by smooth.
This commit is contained in:
parent
1c66fe04bc
commit
d6fd6be5de
@ -498,6 +498,7 @@ block Blockchain::pop_block_from_blockchain()
|
||||
}
|
||||
}
|
||||
}
|
||||
update_next_cumulative_size_limit();
|
||||
m_tx_pool.on_blockchain_dec(m_db->height()-1, get_tail_id());
|
||||
|
||||
return popped_block;
|
||||
|
Loading…
Reference in New Issue
Block a user