mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-12-02 12:07:05 +00:00
style: fix formatting, regenerate umbrella, taplo format
This commit is contained in:
1 parent
288978c088
commit
9f4c9b4d19
14 files changed
+47
-83
No files matched your search
@@ -401,7 +401,7 @@ pub mod pezpallet {
|
||||
.saturating_add(tiki_u128.saturating_mul(300));
|
||||
|
||||
// Safe: both operands are derived from u32 scores, product fits in u128
|
||||
let final_score_u128 = staking_u128
|
||||
let final_score_u128 = staking_u128
|
||||
.saturating_mul(weighted_sum)
|
||||
.checked_div(base)
|
||||
.ok_or(Error::<T>::CalculationOverflow)?;
|
||||
|
||||
Reference in new issue
Block a user