Fix attestation processing metrics

This commit is contained in:
Paul Hauner 2019-06-04 17:10:25 +10:00
parent f4b4709999
commit 8ab1d28c9f
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -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();