From 32300af37832dc863c3f4ffbfcce9a137549f1c6 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Date: Fri, 31 May 2024 14:56:58 +0200 Subject: [PATCH] Update modules/apps/transfer/types/denom.go Co-authored-by: DimitrisJim --- modules/apps/transfer/types/denom.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,