diff --git a/bridges/snowbridge/runtime/test-common/src/lib.rs b/bridges/snowbridge/runtime/test-common/src/lib.rs index 2b5bfb8ff431..b157ad4356bd 100644 --- a/bridges/snowbridge/runtime/test-common/src/lib.rs +++ b/bridges/snowbridge/runtime/test-common/src/lib.rs @@ -551,10 +551,7 @@ pub fn ethereum_extrinsic( let gap = ::FreeHeadersInterval::get(); // Large enough header gap is free - if gap.is_some() && - update.finalized_header.slot >= - initial_checkpoint.header.slot + gap.unwrap() as u64 - { + if update.finalized_header.slot >= initial_checkpoint.header.slot + gap as u64 { assert!(balance_after_checkpoint == balance_after_update); } else { // Otherwise paid