diff --git a/modules/apps/transfer/types/denom.go b/modules/apps/transfer/types/denom.go index 1f28357c0b0..9c1df1cbfaa 100644 --- a/modules/apps/transfer/types/denom.go +++ b/modules/apps/transfer/types/denom.go @@ -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,