Skip to content

Commit

Permalink
chore: resolve lll
Browse files Browse the repository at this point in the history
  • Loading branch information
EclesioMeloJunior committed Sep 19, 2024
1 parent 2c11956 commit b6a0b9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dot/sync/fullsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit b6a0b9d

Please sign in to comment.