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
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
m_tx_pool.on_blockchain_dec(m_db->height()-1, get_tail_id());
|
||||||
|
|
||||||
return popped_block;
|
return popped_block;
|
||||||
|
|
Loading…
Reference in a new issue