Skip to content

Commit 3b64fb8

Browse files
committed
Merge remote-tracking branch 'origin/devnet-ready' into network-dissolution-optimization2
2 parents c6cfaeb + c5e0161 commit 3b64fb8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2210,7 +2210,7 @@ mod dispatches {
22102210
#[pallet::call_index(114)]
22112211
#[pallet::weight((Weight::from_parts(29_930_000, 0)
22122212
.saturating_add(T::DbWeight::get().reads(4_u64))
2213-
.saturating_add(T::DbWeight::get().writes(2_u64)), DispatchClass::Normal, Pays::No))]
2213+
.saturating_add(T::DbWeight::get().writes(2_u64)), DispatchClass::Normal, Pays::Yes))]
22142214
pub fn set_coldkey_auto_stake_hotkey(
22152215
origin: T::RuntimeOrigin,
22162216
netuid: NetUid,

pallets/subtensor/src/staking/claim_root.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ impl<T: Config> Pallet<T> {
165165
netuid,
166166
owed_u64.into(),
167167
T::SwapInterface::min_price::<TaoCurrency>(),
168-
false,
168+
true,
169169
) {
170170
Ok(owed_tao) => owed_tao,
171171
Err(err) => {

0 commit comments

Comments
 (0)