File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
pallets/subtensor/src/staking Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -617,7 +617,7 @@ impl<T: Config> Pallet<T> {
617617 pub fn get_max_amount_remove ( netuid : u16 , limit_price : u64 ) -> Result < u64 , Error < T > > {
618618 // Corner case: root and stao
619619 // There's no slippage for root or stable subnets, so if limit price is 1e9 rao or
620- // higher , then max_amount equals u64::MAX, otherwise it is 0.
620+ // lower , then max_amount equals u64::MAX, otherwise it is 0.
621621 if ( netuid == Self :: get_root_netuid ( ) ) || ( SubnetMechanism :: < T > :: get ( netuid) ) == 0 {
622622 if limit_price <= 1_000_000_000 {
623623 return Ok ( u64:: MAX ) ;
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
209209 // `spec_version`, and `authoring_version` are the same between Wasm and native.
210210 // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
211211 // the compatible custom types.
212- spec_version : 269 ,
212+ spec_version : 270 ,
213213 impl_version : 1 ,
214214 apis : RUNTIME_API_VERSIONS ,
215215 transaction_version : 1 ,
You can’t perform that action at this time.
0 commit comments