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.
1 parent 1f27c9f commit f81608dCopy full SHA for f81608d
pallets/subtensor/src/coinbase/run_coinbase.rs
@@ -446,12 +446,12 @@ impl<T: Config> Pallet<T> {
446
// 2.5.1 --- Store the root divs under hotkey_j
447
root_alpha_divs
448
.entry(hotkey_j.clone())
449
- .and_modify(|e| *e = e.saturating_add(root_alpha_divs_j.to_num::<u64>()))
450
- .or_insert(root_alpha_divs_j.to_num::<u64>());
+ .and_modify(|e| *e = e.saturating_add(rem_root_alpha_divs_j.to_num::<u64>()))
+ .or_insert(rem_root_alpha_divs_j.to_num::<u64>());
451
log::debug!(
452
"Stored root alpha dividends for hotkey {:?}: {:?}",
453
hotkey_j,
454
- root_alpha_divs_j.to_num::<u64>()
+ rem_root_alpha_divs_j.to_num::<u64>()
455
);
456
457
// 2.5.2 --- Store the alpha dividends
0 commit comments