Skip to content

Commit

Permalink
fix: cargo-clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandar Brayanov committed Jan 6, 2025
1 parent 0a86309 commit 846fb7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chains/orchestrator-relays/runtime/dancelight/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2057,6 +2057,7 @@ where
}
#[cfg(feature = "runtime-benchmarks")]
fn prepare_chain_registration(id: ParaId, who: AccountId) {
use frame_support::assert_ok;
paras_registrar::NextFreeParaId::<Runtime>::put(id);
assert_eq!(paras_registrar::NextFreeParaId::<Runtime>::get(), id);
assert_ok!(Registrar::reserve(RuntimeOrigin::signed(who.into())));
Expand Down

0 comments on commit 846fb7d

Please sign in to comment.