Fix attestation processing metrics
This commit is contained in:
parent
f4b4709999
commit
8ab1d28c9f
@ -565,7 +565,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
.insert_attestation(attestation, &*self.state.read(), &T::EthSpec::spec());
|
||||
|
||||
if result.is_ok() {
|
||||
self.metrics.attestation_production_successes.inc();
|
||||
self.metrics.attestation_processing_successes.inc();
|
||||
}
|
||||
|
||||
timer.observe_duration();
|
||||
|
Loading…
Reference in New Issue
Block a user