Fix off-by-one in representatives count limit (#5132) The non-sorting branch of representatives reported one entry more than the requested count, since the break check ran after adding the entry. Stop adding entries once the count is reached, matching the sorting branch.
__________
Type: commit
Hash: 9656ca719db60f41bfbcdf558647c1d73bf30f78
Created: yesterday
__________
gr0v1ty/nano-node:9656ca719db60f41bfbcdf558647c1d73bf30f78
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | FAIL | 189 s | 76.0 s | Show | Show |
| 5n4pr_conf_10k_change | PASS | 189 s | 30.0 s | - | Show |
| 5n4pr_conf_change_dependant | PASS | 131 s | 17.0 s | - | - |
| 5n4pr_conf_change_independant | PASS | 118 s | 4.0 s | - | - |
| 5n4pr_conf_send_dependant | PASS | 117 s | 1.0 s | - | - |
| 5n4pr_conf_send_independant | FAIL | 3 s | -110.0 s | Show | - |
| 5n4pr_rocks_10k_bintree | PASS | 120 s | -1.0 s | - | - |
| 5n4pr_rocks_10k_change | PASS | 156 s | -13.0 s | - | - |