normalize difficulty

This commit is contained in:
Hardhat Chad
2024-07-19 16:50:25 +00:00
parent 81afef2ef2
commit 52aa6beefa
4 changed files with 19 additions and 13 deletions

View File

@@ -56,8 +56,8 @@ pub fn process_crown<'a, 'info>(
}
// Crown the new top staker.
config.max_stake = proof_new.balance;
config.top_staker = *proof_new_info.key;
config.top_staker_balance = proof_new.balance;
Ok(())
}