Skip to content

Commit 5dad4d3

Browse files
committed
evm-tracker comment fixes
1 parent 87459f6 commit 5dad4d3

File tree

1 file changed

+3
-3
lines changed
  • domains/pallets/evm-tracker/src

1 file changed

+3
-3
lines changed

domains/pallets/evm-tracker/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ mod pallet {
9090
#[pallet::hooks]
9191
impl<T: Config> Hooks<BlockNumberFor<T>> for Pallet<T> {
9292
fn on_finalize(_now: BlockNumberFor<T>) {
93-
// clear the storage since we would start with updated nonce
93+
// clear the nonce storage, since we would start with updated nonce
9494
// during the pre_dispatch in next block
9595
let _ = AccountNonce::<T>::clear(u32::MAX, None);
9696
}
@@ -108,12 +108,12 @@ impl<T: Config> Pallet<T> {
108108
AccountNonce::<T>::set(account, Some(nonce))
109109
}
110110

111-
/// Returns true if the account is allowed to create contracts.
111+
/// Returns true if the supplied account is allowed to create contracts.
112112
pub fn is_allowed_to_create_contracts(signer: &T::AccountId) -> bool {
113113
ContractCreationAllowedBy::<T>::get().is_allowed(signer)
114114
}
115115

116-
/// Returns true if the account is allowed to create contracts.
116+
/// Returns true if any account is allowed to create contracts.
117117
pub fn is_allowed_to_create_unsigned_contracts() -> bool {
118118
ContractCreationAllowedBy::<T>::get().is_anyone_allowed()
119119
}

0 commit comments

Comments
 (0)