fixup! fixup! keep track of locktower slots and stakes

This commit is contained in:
Anatoly Yakovenko 2019-03-25 15:45:32 -07:00 committed by Grimes
parent 93c57934cb
commit 59b4f40f4e
1 changed files with 2 additions and 2 deletions

View File

@ -197,9 +197,9 @@ impl Locktower {
self.lockouts.process_vote(Vote { slot });
solana_metrics::submit(
influxdb::Point::new("counter-locktower-vote")
.add_field("root", influxdb::Value::Integer(slot as i64))
.add_field("latest", influxdb::Value::Integer(slot as i64))
.add_field(
"latest",
"root",
influxdb::Value::Integer(self.lockouts.root_slot.unwrap_or(0) as i64),
)
.to_owned(),