Skip to content
Snippets Groups Projects
Commit 47dc310f authored by Patricio Napoli's avatar Patricio Napoli Committed by GitHub
Browse files

fixed a comment in the system pallet (#14466)

parent 4849b6e8
Branches
No related merge requests found
......@@ -1297,7 +1297,7 @@ impl<T: Config> Pallet<T> {
let phase = ExecutionPhase::<T>::get().unwrap_or_default();
let event = EventRecord { phase, event, topics: topics.to_vec() };
// Index of the to be added event.
// Index of the event to be added.
let event_idx = {
let old_event_count = EventCount::<T>::get();
let new_event_count = match old_event_count.checked_add(1) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment