Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeseung-bae committed Jan 29, 2024
1 parent 70c16fa commit 07098de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions x/collection/collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func TokenClassUnpackInterfaces(any *codectypes.Any, unpacker codectypes.AnyUnpa
// FTClass
var _ TokenClass = (*FTClass)(nil)

//lint:ignore var-naming
func (c *FTClass) SetId(ids *NextClassIDs) {
id := ids.Fungible
ids.Fungible = id.Incr()
Expand Down Expand Up @@ -114,6 +115,7 @@ func (c FTClass) ValidateBasic() error {
// NFTClass
var _ TokenClass = (*NFTClass)(nil)

//lint:ignore var-naming
func (c *NFTClass) SetId(ids *NextClassIDs) {
id := ids.NonFungible
ids.NonFungible = id.Incr()
Expand Down
2 changes: 1 addition & 1 deletion x/collection/msgs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ func TestMsgCreateContract(t *testing.T) {
addrs[i] = sdk.AccAddress(secp256k1.GenPrivKey().PubKey().Address())
}

name := "tibetian fox"
const name = "tibetian fox"
uri := "file:///tibetian_fox.png"
meta := "Tibetian fox"
testCases := map[string]struct {
Expand Down

0 comments on commit 07098de

Please sign in to comment.