Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarg66 committed May 9, 2023
1 parent 9a3b014 commit eae13f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program-runtime/src/loaded_programs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ impl LoadedPrograms {
matches!(relation, BlockRelation::Equal | BlockRelation::Descendant)
} else if !first_ancestor_found
&& (matches!(relation, BlockRelation::Ancestor)
|| previous_root > entry.deployment_slot)
|| entry.deployment_slot < previous_root)
{
first_ancestor_found = true;
first_ancestor_found
Expand Down

0 comments on commit eae13f0

Please sign in to comment.