diff --git a/frame/utility/src/lib.rs b/frame/utility/src/lib.rs index 76f3ca6bf6261..0b60532c3dd23 100644 --- a/frame/utility/src/lib.rs +++ b/frame/utility/src/lib.rs @@ -538,7 +538,7 @@ impl Module { pub fn timepoint() -> Timepoint { Timepoint { height: >::block_number(), - index: >::extrinsic_count(), + index: >::extrinsic_index().unwrap_or_default(), } }