mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 00:01:09 +00:00
Rewrap all comments to 100 line width (#9490)
* reformat everything again * manual formatting * last manual fix * Fix build
This commit is contained in:
@@ -118,8 +118,8 @@ pub mod pallet {
|
||||
type FieldDeposit: Get<BalanceOf<Self>>;
|
||||
|
||||
/// The amount held on deposit for a registered subaccount. This should account for the fact
|
||||
/// that one storage item's value will increase by the size of an account ID, and there will be
|
||||
/// another trie item whose value is the size of an account ID plus 32 bytes.
|
||||
/// that one storage item's value will increase by the size of an account ID, and there will
|
||||
/// be another trie item whose value is the size of an account ID plus 32 bytes.
|
||||
#[pallet::constant]
|
||||
type SubAccountDeposit: Get<BalanceOf<Self>>;
|
||||
|
||||
@@ -451,7 +451,8 @@ pub mod pallet {
|
||||
|
||||
Ok(Some(
|
||||
T::WeightInfo::set_subs_old(old_ids.len() as u32) // P: Real number of old accounts removed.
|
||||
.saturating_add(T::WeightInfo::set_subs_new(new_subs as u32)), /* S: New subs added. */
|
||||
// S: New subs added
|
||||
.saturating_add(T::WeightInfo::set_subs_new(new_subs as u32)),
|
||||
)
|
||||
.into())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user