fixup! fixup! keep track of locktower slots and stakes
This commit is contained in:
parent
93c57934cb
commit
59b4f40f4e
|
@ -197,9 +197,9 @@ impl Locktower {
|
||||||
self.lockouts.process_vote(Vote { slot });
|
self.lockouts.process_vote(Vote { slot });
|
||||||
solana_metrics::submit(
|
solana_metrics::submit(
|
||||||
influxdb::Point::new("counter-locktower-vote")
|
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(
|
.add_field(
|
||||||
"latest",
|
"root",
|
||||||
influxdb::Value::Integer(self.lockouts.root_slot.unwrap_or(0) as i64),
|
influxdb::Value::Integer(self.lockouts.root_slot.unwrap_or(0) as i64),
|
||||||
)
|
)
|
||||||
.to_owned(),
|
.to_owned(),
|
||||||
|
|
Loading…
Reference in New Issue