chore: move FormatCoins to x/tx (#18857)

This commit is contained in:
Facundo Medica
2023-12-21 17:37:25 +00:00
committed by GitHub
parent 6649bb7d8f
commit f4e9a1ecd5
7 changed files with 161 additions and 166 deletions
+1 -2
View File
@@ -22,8 +22,7 @@ func (c coinType) NewValue(context.Context, *Builder) Value {
}
func (c coinType) DefaultValue() string {
stringCoin, _ := coins.FormatCoins([]*basev1beta1.Coin{}, nil)
return stringCoin
return "zero"
}
func (c *coinValue) Get(protoreflect.Value) (protoreflect.Value, error) {