Skip to content

Commit

Permalink
Add lock file, fix latest substrate. (paritytech#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusdrw authored and serban300 committed Apr 9, 2024
1 parent a3497f4 commit fef7b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/modules/ethereum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ impl Storage for BridgeStorage {
// ensure that unfinalized headers we want to prune do not have scheduled changes
if number > finalized_number {
if let Some(ref blocks_at_number) = blocks_at_number {
if blocks_at_number.iter().any(|block| ScheduledChanges::exists(block)) {
if blocks_at_number.iter().any(|block| ScheduledChanges::contains_key(block)) {
HeadersByNumber::insert(number, blocks_at_number);
OldestUnprunedBlock::put(number);
return;
Expand Down

0 comments on commit fef7b8a

Please sign in to comment.