Skip to content

Commit

Permalink
Update modules/apps/transfer/types/denom.go
Browse files Browse the repository at this point in the history
Co-authored-by: DimitrisJim <[email protected]>
  • Loading branch information
Carlos Rodriguez and DimitrisJim authored May 31, 2024
1 parent 6b72c10 commit 32300af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/apps/transfer/types/denom.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
cmtbytes "github.com/cometbft/cometbft/libs/bytes"
)

// NewDenom creates a new Denom instance given the base denomination and trace.
func NewDenom(base string, trace ...Trace) Denom {
// NewDenom creates a new Denom instance given the base denomination and a variable number of traces.
func NewDenom(base string, traces ...Trace) Denom {
return Denom{
Base: base,
Trace: trace,

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / build (arm64)

undefined: trace

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / build (amd64)

undefined: trace

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / lint

undefined: trace) (typecheck)

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / lint

undefined: trace) (typecheck)

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / lint

undefined: trace) (typecheck)

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / lint

undefined: trace) (typecheck)

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / lint

undefined: trace) (typecheck)

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / tests (00)

undefined: trace

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / tests (03)

undefined: trace

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / tests (01)

undefined: trace

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / tests (01)

undefined: trace

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / tests (02)

undefined: trace

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / tests (02)

undefined: trace

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / tests (02)

undefined: trace

Check failure on line 18 in modules/apps/transfer/types/denom.go

View workflow job for this annotation

GitHub Actions / tests (02)

undefined: trace
Expand Down

0 comments on commit 32300af

Please sign in to comment.