Skip to content

Commit

Permalink
fix(go): deregister attributes errors
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <troian.ap@gmail.com>
  • Loading branch information
troian committed Jul 17, 2024
1 parent def51e6 commit 9bbee8c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions go/node/types/v1beta3/attribute.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
package v1beta3

import (
"errors"
"path/filepath"
"reflect"
"regexp"
"sort"
"strconv"
"strings"

sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"gopkg.in/yaml.v3"
)

const (
Expand All @@ -24,8 +22,8 @@ const (
)

var (
ErrAttributesDuplicateKeys = sdkerrors.Register(moduleName, errAttributesDuplicateKeys, "attributes cannot have duplicate keys")
ErrInvalidAttributeKey = sdkerrors.Register(moduleName, errInvalidAttributeKey, "attribute key does not match regexp")
ErrAttributesDuplicateKeys = errors.New("attributes cannot have duplicate keys")
ErrInvalidAttributeKey = errors.New("attribute key does not match regexp")
)

var (
Expand Down

0 comments on commit 9bbee8c

Please sign in to comment.