From 931d1e0f22f2774871dd3eb1661807e2b0c8a51d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C5=A1a=20Tomi=C4=87?= Date: Fri, 30 Aug 2024 17:50:16 +0200 Subject: [PATCH] fix: typo in the description of a NakamotoScore change (#832) --- rs/decentralization/src/nakamoto/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rs/decentralization/src/nakamoto/mod.rs b/rs/decentralization/src/nakamoto/mod.rs index 53e6db9d8..2b9fb455a 100644 --- a/rs/decentralization/src/nakamoto/mod.rs +++ b/rs/decentralization/src/nakamoto/mod.rs @@ -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] @@ -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]