File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ where
234
234
pub fn get_priority_vanilla ( ) -> u64 {
235
235
// Return high priority so that every extrinsic except set_weights function will
236
236
// have a higher priority than the set_weights call
237
- u64:: MAX ( )
237
+ u64:: MAX
238
238
}
239
239
}
240
240
Original file line number Diff line number Diff line change @@ -1009,12 +1009,12 @@ impl<T: Config> Pallet<T> {
1009
1009
NetworkRegisteredAt :: < T > :: remove ( netuid) ;
1010
1010
1011
1011
// --- 8. Remove incentive mechanism memory.
1012
- let _ = Uids :: < T > :: clear_prefix ( netuid, u32:: MAX ( ) , None ) ;
1013
- let _ = Keys :: < T > :: clear_prefix ( netuid, u32:: MAX ( ) , None ) ;
1014
- let _ = Bonds :: < T > :: clear_prefix ( netuid, u32:: MAX ( ) , None ) ;
1012
+ let _ = Uids :: < T > :: clear_prefix ( netuid, u32:: MAX , None ) ;
1013
+ let _ = Keys :: < T > :: clear_prefix ( netuid, u32:: MAX , None ) ;
1014
+ let _ = Bonds :: < T > :: clear_prefix ( netuid, u32:: MAX , None ) ;
1015
1015
1016
1016
// --- 8. Removes the weights for this subnet (do not remove).
1017
- let _ = Weights :: < T > :: clear_prefix ( netuid, u32:: MAX ( ) , None ) ;
1017
+ let _ = Weights :: < T > :: clear_prefix ( netuid, u32:: MAX , None ) ;
1018
1018
1019
1019
// --- 9. Iterate over stored weights and fill the matrix.
1020
1020
for ( uid_i, weights_i) in
You can’t perform that action at this time.
0 commit comments