Skip to content

Commit 1eaf666

Browse files
committed
chore(comment): Add code comments
1 parent 69c38a5 commit 1eaf666

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x/wasm/keeper/query_plugins.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,7 @@ func ConvertSdkDenomUnitsToWasmDenomUnits(denomUnits []*banktypes.DenomUnit) []w
827827
Exponent: u.Exponent,
828828
Aliases: u.Aliases,
829829
}
830+
// Return nil may break cosmwasm-std
830831
if u.Aliases == nil {
831832
converted[i].Aliases = []string{}
832833
}

0 commit comments

Comments
 (0)