From b6a0b9dd3e427838691d1d790898e50f1e55d545 Mon Sep 17 00:00:00 2001 From: EclesioMeloJunior Date: Thu, 19 Sep 2024 14:53:20 -0400 Subject: [PATCH] chore: resolve lll --- dot/sync/fullsync.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") }