Skip to content

Commit

Permalink
fix: add index to staking event metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Hill <[email protected]>
  • Loading branch information
gregdhill committed Jul 14, 2021
1 parent df8a117 commit 39565ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ pub mod pallet {
#[pallet::metadata(
T::CurrencyId = "CurrencyId",
T::AccountId = "AccountId",
T::SignedFixedPoint = "SignedFixedPoint"
T::SignedFixedPoint = "SignedFixedPoint",
T::Index = "Index"
)]
pub enum Event<T: Config> {
DepositStake(T::CurrencyId, T::AccountId, T::AccountId, T::SignedFixedPoint),
Expand Down

0 comments on commit 39565ae

Please sign in to comment.