mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-06 02:41:07 +00:00
declone and close the door (#12035)
* declone and close the door * cargo fmt * remove brackets
This commit is contained in:
1 parent
9c2a2495fe
commit
a68a80fbae
72 files changed
+344
-512
No files matched your search
@@ -244,7 +244,7 @@ pub mod v2 {
|
||||
},
|
||||
};
|
||||
|
||||
total_value_locked += bonded_pool.points_to_balance(points.clone());
|
||||
total_value_locked += bonded_pool.points_to_balance(*points);
|
||||
let portion = Perbill::from_rational(*points, bonded_pool.points);
|
||||
let last_claim = portion * accumulated_reward;
|
||||
|
||||
|
||||
Reference in new issue
Block a user