File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
rolling-shutter/keyperimpl/gnosis Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,6 @@ func New(c *Config) *Keyper {
71
71
func (kpr * Keyper ) Start (ctx context.Context , runner service.Runner ) error {
72
72
var err error
73
73
74
- if kpr .config .Metrics .Enabled {
75
- InitMetrics (kpr .beaconAPIClient )
76
- }
77
-
78
74
kpr .newBlocks = make (chan * syncevent.LatestBlock )
79
75
kpr .newKeyperSets = make (chan * syncevent.KeyperSet )
80
76
kpr .newEonPublicKeys = make (chan keyper.EonPublicKey )
@@ -150,6 +146,10 @@ func (kpr *Keyper) Start(ctx context.Context, runner service.Runner) error {
150
146
return err
151
147
}
152
148
149
+ if kpr .config .Metrics .Enabled {
150
+ InitMetrics (kpr .beaconAPIClient )
151
+ }
152
+
153
153
// Set all transaction pointer ages to infinity. They will be reset to zero when the next
154
154
// decryption keys arrive, telling us the agreed upon pointer value. Pointer values that are
155
155
// not in the db yet are not affected. They will be initialized to zero when we first access
You can’t perform that action at this time.
0 commit comments