Skip to content

Commit 79aae1f

Browse files
authored
Fix comments of indices pallet events (#7511)
Arguments for IndexAssigned and IndexFrozen were inverted in comments.
1 parent fa57ef9 commit 79aae1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ decl_event!(
8080
<T as frame_system::Trait>::AccountId,
8181
<T as Trait>::AccountIndex
8282
{
83-
/// A account index was assigned. \[who, index\]
83+
/// A account index was assigned. \[index, who\]
8484
IndexAssigned(AccountId, AccountIndex),
8585
/// A account index has been freed up (unassigned). \[index\]
8686
IndexFreed(AccountIndex),
87-
/// A account index has been frozen to its current account ID. \[who, index\]
87+
/// A account index has been frozen to its current account ID. \[index, who\]
8888
IndexFrozen(AccountIndex, AccountId),
8989
}
9090
);

0 commit comments

Comments
 (0)