Skip to content

Commit

Permalink
style: Remove unnecessary comment and empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Dec 12, 2024
1 parent 97e0839 commit 7b35288
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ linters-settings:
nolintlint:
require-explanation: true
require-specific: true

issues:
exclude-rules:
# Exclude some linters from running on tests files.
- path: _test\.go
linters:
skip-files:
- "*_test.go"
disable-all: true
enable:
- asasalint
Expand Down
1 change: 0 additions & 1 deletion pkg/relaymonitor/relay_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,6 @@ func (r *RelayMonitor) createValidatorRegistrationAdditionalData(
) (*xatu.ClientMeta_AdditionalMevRelayValidatorRegistrationData, error) {
// Calculate slot and epoch from registration timestamp
// Convert timestamp to time.Time

data := &xatu.ClientMeta_AdditionalMevRelayValidatorRegistrationData{
Relay: &mevrelay.Relay{
Url: wrapperspb.String(re.URL()),
Expand Down

0 comments on commit 7b35288

Please sign in to comment.