diff --git a/dot/sync/fullsync.go b/dot/sync/fullsync.go index 5fdf14f7ed..4b068a37b3 100644 --- a/dot/sync/fullsync.go +++ b/dot/sync/fullsync.go @@ -288,7 +288,8 @@ func (f *FullSyncStrategy) OnBlockAnnounceHandshake(from peer.ID, msg *network.B return nil } -func (f *FullSyncStrategy) OnBlockAnnounce(from peer.ID, msg *network.BlockAnnounceMessage) (repChange *Change, err error) { +func (f *FullSyncStrategy) OnBlockAnnounce(from peer.ID, msg *network.BlockAnnounceMessage) ( + repChange *Change, err error) { if f.blockState.IsPaused() { return nil, errors.New("blockstate service is paused") }