Skip to content

Commit

Permalink
Fix "slashaed" typo (#2205)
Browse files Browse the repository at this point in the history
# Description

This merely fixes a typo in the documentation, replacing the typo
"slashaed" with "slashed". Since external entities use the comments for
explanations of events, this will then be shown externally. I noticed
this when reviewing [this
event](https://polkadot.subscan.io/extrinsic/0xb6bc1e3abde0c2ed9c500c74cfc64cdb8179e5d9af97f4bf53242ce4cdd15a1d?event=18064194-6)
on Subscan.

This is not related to any other issues or PRs.
  • Loading branch information
laboon authored Nov 7, 2023
1 parent 4caa3d8 commit 44c7a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/frame/referenda/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ pub mod pallet {
/// The amount placed by the account.
amount: BalanceOf<T, I>,
},
/// A deposit has been slashaed.
/// A deposit has been slashed.
DepositSlashed {
/// The account who placed the deposit.
who: T::AccountId,
Expand Down

0 comments on commit 44c7a5e

Please sign in to comment.