|
@ -347,7 +347,7 @@ func _nonJSONStringToArg(cdc *amino.Codec, rt reflect.Type, arg string) (reflect |
|
|
|
|
|
|
|
|
var expectingString, expectingByteSlice, expectingInt bool |
|
|
var expectingString, expectingByteSlice, expectingInt bool |
|
|
switch rt.Kind() { |
|
|
switch rt.Kind() { |
|
|
case reflect.Int, reflect.Uint, reflect.Int8, reflect.Uint8, reflect.Int16, reflect.Uint16, reflect.Int32, reflect.Uint32, reflect.Int64: |
|
|
|
|
|
|
|
|
case reflect.Int, reflect.Uint, reflect.Int8, reflect.Uint8, reflect.Int16, reflect.Uint16, reflect.Int32, reflect.Uint32, reflect.Int64, reflect.Uint64: |
|
|
expectingInt = true |
|
|
expectingInt = true |
|
|
case reflect.String: |
|
|
case reflect.String: |
|
|
expectingString = true |
|
|
expectingString = true |
|
|