Skip to content

Commit

Permalink
Add lock file, fix latest substrate. (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusdrw authored and bkchr committed Apr 10, 2024
1 parent 987888e commit 7ef276d
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 7ef276d

Please sign in to comment.