Skip to content

Commit

Permalink
fix: prune av store
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
  • Loading branch information
xDimon committed Sep 24, 2024
1 parent fb233c2 commit 503be6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/parachain/validator/impl/parachain_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,8 @@ namespace kagome::parachain {

our_current_state_.per_leaf.erase(lost);
our_current_state_.state_by_relay_parent.erase(lost);

av_store_->remove(lost);
}
our_current_state_.active_leaves[relay_parent] =
prospective_parachains_->prospectiveParachainsMode(relay_parent);
Expand Down Expand Up @@ -801,7 +803,6 @@ namespace kagome::parachain {
lost.number);

backing_store_->onDeactivateLeaf(lost.hash);
av_store_->remove(lost.hash);
bitfield_store_->remove(lost.hash);
}

Expand Down

0 comments on commit 503be6b

Please sign in to comment.