Skip to content

Commit 42a690a

Browse files
committed
Fixed name
1 parent 10cd967 commit 42a690a

File tree

1 file changed

+3
-3
lines changed
  • pallets/transaction-storage/src

1 file changed

+3
-3
lines changed

pallets/transaction-storage/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ pub mod pallet {
591591
#[pallet::weight(T::WeightInfo::remove_expired_preimage_authorization())]
592592
#[pallet::authorize(|_source, hash| {
593593
Pallet::<T>::to_validity_with_refund(
594-
Pallet::<T>::check_unsigned_remove_expired_preimage(hash, CheckContext::Validate),
594+
Pallet::<T>::check_unsigned_remove_expired_preimage_authorization(hash, CheckContext::Validate),
595595
)
596596
})]
597597
#[pallet::weight_of_authorize(Weight::zero())]
@@ -1092,7 +1092,7 @@ pub mod pallet {
10921092
}))
10931093
}
10941094

1095-
fn check_unsigned_remove_expired_preimage(
1095+
fn check_unsigned_remove_expired_preimage_authorization(
10961096
hash: &ContentHash,
10971097
context: CheckContext,
10981098
) -> Result<Option<ValidTransaction>, TransactionValidityError> {
@@ -1119,7 +1119,7 @@ pub mod pallet {
11191119
Call::<T>::remove_expired_account_authorization { who } =>
11201120
Self::check_unsigned_remove_expired_account(who, context),
11211121
Call::<T>::remove_expired_preimage_authorization { hash } =>
1122-
Self::check_unsigned_remove_expired_preimage(hash, context),
1122+
Self::check_unsigned_remove_expired_preimage_authorization(hash, context),
11231123
_ => Err(InvalidTransaction::Call.into()),
11241124
}
11251125
}

0 commit comments

Comments
 (0)