Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Adapt .golangci.yml to latest version and fix linter issues #856

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

muXxer
Copy link
Collaborator

@muXxer muXxer commented Mar 20, 2024

No description provided.

@@ -44,8 +44,7 @@ func NewAccountData(id iotago.AccountID, opts ...options.Option[AccountData]) *A

func (a *AccountData) AddBlockIssuerKeys(blockIssuerKeys ...iotago.BlockIssuerKey) {
for _, blockIssuerKey := range blockIssuerKeys {
k := blockIssuerKey
a.BlockIssuerKeys.Add(k)
a.BlockIssuerKeys.Add(blockIssuerKey)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't the pointer we add going to change in the next iteration?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they changed that with go 1.22

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexsporn alexsporn merged commit befbb3a into develop Mar 21, 2024
5 checks passed
@alexsporn alexsporn deleted the chore/adapt-to-latest-linter branch March 21, 2024 07:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants