From aa5d3f80e746ff3a36cae21e7709734c22be158a Mon Sep 17 00:00:00 2001 From: cuteolaf Date: Wed, 18 Jun 2025 02:41:03 -0700 Subject: [PATCH] fix: replace `pure` with `create_pure` in comments --- pallets/proxy/src/lib.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pallets/proxy/src/lib.rs b/pallets/proxy/src/lib.rs index 3ae6b6f8cb..827677fba1 100644 --- a/pallets/proxy/src/lib.rs +++ b/pallets/proxy/src/lib.rs @@ -266,7 +266,7 @@ pub mod pallet { /// /// The dispatch origin for this call must be _Signed_. /// - /// WARNING: This may be called on accounts created by `pure`, however if done, then + /// WARNING: This may be called on accounts created by `create_pure`, however if done, then /// the unreserved fees will be inaccessible. **All access to this account will be lost.** #[pallet::call_index(3)] #[pallet::weight(T::WeightInfo::remove_proxies(T::MaxProxies::get()))] @@ -336,16 +336,16 @@ pub mod pallet { /// inaccessible. /// /// Requires a `Signed` origin, and the sender account must have been created by a call to - /// `pure` with corresponding parameters. + /// `create_pure` with corresponding parameters. /// - /// - `spawner`: The account that originally called `pure` to create this account. - /// - `index`: The disambiguation index originally passed to `pure`. Probably `0`. - /// - `proxy_type`: The proxy type originally passed to `pure`. - /// - `height`: The height of the chain when the call to `pure` was processed. - /// - `ext_index`: The extrinsic index in which the call to `pure` was processed. + /// - `spawner`: The account that originally called `create_pure` to create this account. + /// - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`. + /// - `proxy_type`: The proxy type originally passed to `create_pure`. + /// - `height`: The height of the chain when the call to `create_pure` was processed. + /// - `ext_index`: The extrinsic index in which the call to `create_pure` was processed. /// /// Fails with `NoPermission` in case the caller is not a previously created pure - /// account whose `pure` call has corresponding parameters. + /// account whose `create_pure` call has corresponding parameters. #[pallet::call_index(5)] #[pallet::weight(T::WeightInfo::kill_pure(T::MaxProxies::get()))] pub fn kill_pure(