Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Make it compile
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed May 16, 2022
1 parent 21751e7 commit 4448e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/bags-list/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl<T: crate::Config> OnRuntimeUpgrade for CheckCounterPrefix<T> {
use frame_support::ensure;
// The old explicit storage item.
#[frame_support::storage_alias]
type CounterForListNodes<T> = StorageValue<crate::Pallet<T: crate::Config>, u32>;
type CounterForListNodes<T: crate::Config> = StorageValue<crate::Pallet<T>, u32>;

// ensure that a value exists in the counter struct.
ensure!(
Expand Down

0 comments on commit 4448e20

Please sign in to comment.