Skip to content
Snippets Groups Projects
Commit b27a8200 authored by joe petrowski's avatar joe petrowski Committed by GitHub
Browse files

Change extrinsic_count to extrinsic_index in pallet-utility (#5044)


Co-authored-by: default avatarBenjamin Kampmann <ben.kampmann@googlemail.com>
parent 4f852d69
No related merge requests found
......@@ -538,7 +538,7 @@ impl<T: Trait> Module<T> {
pub fn timepoint() -> Timepoint<T::BlockNumber> {
Timepoint {
height: <system::Module<T>>::block_number(),
index: <system::Module<T>>::extrinsic_count(),
index: <system::Module<T>>::extrinsic_index().unwrap_or_default(),
}
}
......
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