Skip to content

Commit 2488fd2

Browse files
committed
Format
1 parent 0b11765 commit 2488fd2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pallets/subtensor/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ pub mod pallet {
262262
/// Default stake delta.
263263
pub fn DefaultStakeDelta<T: Config>() -> i128 {
264264
0
265-
}
265+
}
266266
#[pallet::type_value]
267267
/// Default stakes per interval.
268268
pub fn DefaultStakesPerInterval<T: Config>() -> (u64, u64) {
@@ -806,7 +806,7 @@ pub mod pallet {
806806
i128,
807807
ValueQuery,
808808
DefaultStakeDelta<T>,
809-
>;
809+
>;
810810
#[pallet::storage]
811811
/// DMAP ( parent, netuid ) --> Vec<(proportion,child)>
812812
pub type ChildKeys<T: Config> = StorageDoubleMap<

pallets/subtensor/src/swap/swap_hotkey.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ impl<T: Config> Pallet<T> {
214214
PendingdHotkeyEmission::<T>::insert(new_hotkey, old_pending_hotkey_emission);
215215
weight.saturating_accrue(T::DbWeight::get().reads_writes(2, 2));
216216
}
217-
217+
218218
// 10. Swap all subnet specific info.
219219
let all_netuids: Vec<u16> = Self::get_all_subnet_netuids();
220220
for netuid in all_netuids {

0 commit comments

Comments
 (0)