fix: update list_operator app_nodes assignment to reflect actual length

This commit is contained in:
Noor 2025-03-21 20:06:30 +05:30
parent 04fa52c2b1
commit b4a80faf55
Signed by: noormohammedb
GPG Key ID: D83EFB8B3B967146

@ -1107,7 +1107,7 @@ impl BrainData {
pubkey: op.key().to_string(),
escrow: op.escrow / 1_000_000_000,
email: op.email.clone(),
app_nodes: 0,
app_nodes: op.app_nodes.len() as u64,
vm_nodes: op.vm_nodes.len() as u64,
reports: self.total_operator_reports(op.key()) as u64,
})