Skip to content

Commit 1954536

Browse files
committed
fix: include manual pubkey sync in block-syncer
1 parent f5b6fa6 commit 1954536

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

rolling-shutter/medley/chainsync/options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func (o *options) apply(ctx context.Context, c *Client) error {
118118
}
119119
if o.handlerEonPublicKey != nil {
120120
c.services = append(c.services, c.epksync)
121-
syncedServices = append(syncedServices, c.kssync)
121+
syncedServices = append(syncedServices, c.epksync)
122122
}
123123

124124
c.sssync = &syncer.ShutterStateSyncer{
@@ -131,7 +131,7 @@ func (o *options) apply(ctx context.Context, c *Client) error {
131131
}
132132
if o.handlerShutterState != nil {
133133
c.services = append(c.services, c.sssync)
134-
syncedServices = append(syncedServices, c.kssync)
134+
syncedServices = append(syncedServices, c.sssync)
135135
}
136136

137137
if o.handlerBlock == nil {

rolling-shutter/medley/chainsync/syncer/eonpubkey.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ func (s *EonPubKeySyncer) QueryAndHandle(ctx context.Context, block uint64) erro
6060
}
6161

6262
func (s *EonPubKeySyncer) Start(ctx context.Context, runner service.Runner) error {
63-
fmt.Println("pubsync looper started (println)")
6463
s.Log.Info(
6564
"pubsyncer loop started",
6665
)

0 commit comments

Comments
 (0)