Skip to content

Commit a9cb596

Browse files
cuteolafalvicsam
authored andcommitted
replace pure with create_pure in comments (#8892)
# Description Fixed some comments in the implementation of proxy pallet.
1 parent b04feed commit a9cb596

File tree

1 file changed

+7
-7
lines changed
  • substrate/frame/proxy/src

1 file changed

+7
-7
lines changed

substrate/frame/proxy/src/lib.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ pub mod pallet {
296296
///
297297
/// The dispatch origin for this call must be _Signed_.
298298
///
299-
/// WARNING: This may be called on accounts created by `pure`, however if done, then
299+
/// WARNING: This may be called on accounts created by `create_pure`, however if done, then
300300
/// the unreserved fees will be inaccessible. **All access to this account will be lost.**
301301
#[pallet::call_index(3)]
302302
#[pallet::weight(T::WeightInfo::remove_proxies(T::MaxProxies::get()))]
@@ -362,16 +362,16 @@ pub mod pallet {
362362
/// inaccessible.
363363
///
364364
/// Requires a `Signed` origin, and the sender account must have been created by a call to
365-
/// `pure` with corresponding parameters.
365+
/// `create_pure` with corresponding parameters.
366366
///
367-
/// - `spawner`: The account that originally called `pure` to create this account.
367+
/// - `spawner`: The account that originally called `create_pure` to create this account.
368368
/// - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
369-
/// - `proxy_type`: The proxy type originally passed to `pure`.
370-
/// - `height`: The height of the chain when the call to `pure` was processed.
371-
/// - `ext_index`: The extrinsic index in which the call to `pure` was processed.
369+
/// - `proxy_type`: The proxy type originally passed to `create_pure`.
370+
/// - `height`: The height of the chain when the call to `create_pure` was processed.
371+
/// - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
372372
///
373373
/// Fails with `NoPermission` in case the caller is not a previously created pure
374-
/// account whose `pure` call has corresponding parameters.
374+
/// account whose `create_pure` call has corresponding parameters.
375375
#[pallet::call_index(5)]
376376
#[pallet::weight(T::WeightInfo::kill_pure(T::MaxProxies::get()))]
377377
pub fn kill_pure(

0 commit comments

Comments
 (0)