mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 13:57:58 +00:00
Fixed consensus message garbage collection & DB initialization (#841)
* Consensus cleanup * Fixed DB initialization issue * Spacing
This commit is contained in:
@@ -105,6 +105,7 @@ impl Specialization<Block> for Protocol {
|
||||
}
|
||||
|
||||
fn maintain_peers(&mut self, _ctx: &mut Context<Block>) {
|
||||
self.consensus_gossip.collect_garbage(None);
|
||||
}
|
||||
|
||||
fn on_block_imported(&mut self, _ctx: &mut Context<Block>, _hash: Hash, _header: &Header) {
|
||||
|
||||
Reference in New Issue
Block a user