We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6434be2 commit f83cb73Copy full SHA for f83cb73
rust/cardano-chain-follower/src/stats/mod.rs
@@ -153,9 +153,9 @@ pub(crate) fn stats_invalid_block(chain: Network, immutable: bool) {
153
};
154
155
if immutable {
156
- chain_stats.mithril.invalid_blocks = chain_stats.mithril.invalid_blocks.saturating_sub(1);
+ chain_stats.mithril.invalid_blocks = chain_stats.mithril.invalid_blocks.saturating_add(1);
157
} else {
158
- chain_stats.live.invalid_blocks = chain_stats.live.invalid_blocks.saturating_sub(1);
+ chain_stats.live.invalid_blocks = chain_stats.live.invalid_blocks.saturating_add(1);
159
}
160
161
0 commit comments