fix: update list_operator app_nodes assignment to reflect actual length
This commit is contained in:
parent
04fa52c2b1
commit
b4a80faf55
@ -1107,7 +1107,7 @@ impl BrainData {
|
|||||||
pubkey: op.key().to_string(),
|
pubkey: op.key().to_string(),
|
||||||
escrow: op.escrow / 1_000_000_000,
|
escrow: op.escrow / 1_000_000_000,
|
||||||
email: op.email.clone(),
|
email: op.email.clone(),
|
||||||
app_nodes: 0,
|
app_nodes: op.app_nodes.len() as u64,
|
||||||
vm_nodes: op.vm_nodes.len() as u64,
|
vm_nodes: op.vm_nodes.len() as u64,
|
||||||
reports: self.total_operator_reports(op.key()) as u64,
|
reports: self.total_operator_reports(op.key()) as u64,
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user