Skip to content

Commit 77f4eb7

Browse files
Seulgi Kimmergify[bot]
authored andcommitted
Change the way of sorting validators when giving additional rewards
1 parent e5fa88e commit 77f4eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/Dynamic-Validator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ To prevent this issue, CodeChain encourages validators who collect signatures di
122122

123123
The additional reward algorithm is shown below:
124124
```rust
125-
let total_validators: Vec<Vec<Account>> := // sorted validators into the average number of signatures;
125+
let total_validators: Vec<Vec<Account>> := // Sorted validators by the average number of missed signatures in ascending order
126126
let mut remain_reward = // total reduced rewards
127127
for validators in total_validators {
128128
if validators.is_empty() {

0 commit comments

Comments
 (0)