This commit is contained in:
Ethan Buchman 2018-07-06 07:56:00 -04:00
parent bd47ed989f
commit 379e5a15cc

View File

@ -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