Feature/field renaming (#1654)
* Replaced serde renames to aliases Ideally I would have removed all serde macros, but then it would have broken existing QA deployments - perhaps we should do it later * Renamed 'node_id' in Delegation to 'mix_id' * Further renamings of 'node_id' to 'mix_id' in various places
This commit is contained in:
committed by
GitHub
parent
996f0bf732
commit
879ce3f2d5
@@ -119,11 +119,11 @@ impl<C> ValidatorCacheRefresher<C> {
|
||||
}
|
||||
}
|
||||
|
||||
async fn get_performance(&self, node_id: NodeId, epoch: Interval) -> Option<Performance> {
|
||||
async fn get_performance(&self, mix_id: NodeId, epoch: Interval) -> Option<Performance> {
|
||||
self.storage
|
||||
.as_ref()?
|
||||
.get_average_mixnode_uptime_in_the_last_24hrs(
|
||||
node_id,
|
||||
mix_id,
|
||||
epoch.current_epoch_end_unix_timestamp(),
|
||||
)
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user