Fix off by 100x

This commit is contained in:
durch
2025-06-25 12:48:22 +02:00
parent 94cc0db2d2
commit 1665b1f2a6
3 changed files with 3 additions and 3 deletions
Generated
+1 -1
View File
@@ -4739,7 +4739,7 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
[[package]]
name = "nym-api"
version = "1.1.73"
version = "1.1.74"
dependencies = [
"anyhow",
"async-trait",
+1 -1
View File
@@ -4,7 +4,7 @@
[package]
name = "nym-api"
license = "GPL-3.0"
version = "1.1.73"
version = "1.1.74"
authors.workspace = true
edition = "2021"
rust-version.workspace = true
+1 -1
View File
@@ -1647,7 +1647,7 @@ impl StorageManager {
let reliability = if total_samples == 0 {
0.0 // Default for no samples in this interval. Consider Option<f64> or filtering.
} else {
state.pos_samples as f64 / total_samples as f64
(state.pos_samples as f64 / total_samples as f64) * 100.0
};
// Attempt to fetch identity, first as mixnode, then as gateway if not found.