Skip to content

Commit

Permalink
fix: typo in the description of a NakamotoScore change (#832)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa-tomic authored Aug 30, 2024
1 parent 6496a18 commit 931d1e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rs/decentralization/src/nakamoto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ impl NakamotoScore {
return (
cmp,
if val_self[0] != val_other[0] {
if val_self[0] > val_other[0] {
if val_other[0] > val_self[0] {
format!(
"(gets better) the number of nodes controlled by dominant NPs decreases from {} to {}",
val_other[0], val_self[0]
Expand All @@ -407,7 +407,7 @@ impl NakamotoScore {
val_other[0], val_self[0]
)
}
} else if val_self[1] > val_other[1] {
} else if val_other[1] > val_self[1] {
format!(
"(gets better) the number of nodes controlled by dominant Country actors decreases from {} to {}",
val_other[1], val_self[1]
Expand Down

0 comments on commit 931d1e0

Please sign in to comment.