We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c27d88 + b0bdb16 commit 48441d8Copy full SHA for 48441d8
pallets/subtensor/src/migrations/migrate_rao.rs
@@ -89,7 +89,7 @@ pub fn migrate_rao<T: Config>() -> Weight {
89
90
let remaining_lock = lock.saturating_sub(pool_initial_tao);
91
// Refund the owner for the remaining lock.
92
- SubnetMovingPrice::<T>::insert(netuid, I96F32::from_num( EmissionValues::<T>::get(netuid) ) );
+ SubnetMovingPrice::<T>::insert(netuid, I96F32::from_num(EmissionValues::<T>::get(netuid)));
93
Pallet::<T>::add_balance_to_coldkey_account(&owner, remaining_lock);
94
SubnetLocked::<T>::insert(netuid, 0); // Clear lock amount.
95
SubnetTAO::<T>::insert(netuid, pool_initial_tao);
0 commit comments