Skip to content

Commit

Permalink
Change extrinsic_count to extrinsic_index in pallet-utility (parityte…
Browse files Browse the repository at this point in the history
…ch#5044)

Co-authored-by: Benjamin Kampmann <ben.kampmann@googlemail.com>
  • Loading branch information
2 people authored and General-Beck committed Mar 4, 2020
1 parent c56a823 commit c5cc966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/utility/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
}

Expand Down

0 comments on commit c5cc966

Please sign in to comment.