Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Feb 2, 2024
1 parent 6e3757b commit 6a5b177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/inflation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ pub trait PayoutPerBlock<Imbalance> {
/// `OnRuntimeUpgrade` logic for integrating this pallet into the live network.
#[cfg(feature = "try-runtime")]
use sp_std::vec::Vec;
pub struct PalletInflationInitConfig<T, P>(PhantomData<(T, P, W)>);
pub struct PalletInflationInitConfig<T, P, W>(PhantomData<(T, P, W)>);
impl<T: Config, P: Get<(InflationParameters, EraNumber, Weight)>> OnRuntimeUpgrade
for PalletInflationInitConfig<T, P, W>

Check failure on line 641 in pallets/inflation/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

cannot find type `W` in this scope

error[E0412]: cannot find type `W` in this scope --> pallets/inflation/src/lib.rs:641:41 | 640 | impl<T: Config, P: Get<(InflationParameters, EraNumber, Weight)>> OnRuntimeUpgrade | - similarly named type parameter `P` defined here 641 | for PalletInflationInitConfig<T, P, W> | ^ | help: a type parameter with a similar name exists | 641 | for PalletInflationInitConfig<T, P, P> | ~ help: you might be missing a type parameter | 640 | impl<T: Config, P: Get<(InflationParameters, EraNumber, Weight)>, W> OnRuntimeUpgrade | +++
{
Expand Down

0 comments on commit 6a5b177

Please sign in to comment.