Skip to content

Commit

Permalink
Fix comments of indices pallet events (paritytech#7511)
Browse files Browse the repository at this point in the history
Arguments for IndexAssigned and IndexFrozen were inverted in comments.
  • Loading branch information
alecalve authored and darkfriend77 committed Jan 11, 2021
1 parent 126c3ca commit c7d40f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frame/indices/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ decl_event!(
<T as frame_system::Trait>::AccountId,
<T as Trait>::AccountIndex
{
/// A account index was assigned. \[who, index\]
/// A account index was assigned. \[index, who\]
IndexAssigned(AccountId, AccountIndex),
/// A account index has been freed up (unassigned). \[index\]
IndexFreed(AccountIndex),
/// A account index has been frozen to its current account ID. \[who, index\]
/// A account index has been frozen to its current account ID. \[index, who\]
IndexFrozen(AccountIndex, AccountId),
}
);
Expand Down

0 comments on commit c7d40f1

Please sign in to comment.