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 8, 2024
1 parent 0e23927 commit 4457f36
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 4457f36

Please sign in to comment.