rlp: remove support for signed integer types
There is no agreement on how to encode negative integers across implementations. cpp-ethereum doesn't support them either.
This commit is contained in:
@ -57,6 +57,6 @@ func genTypeInfo(typ reflect.Type) (info *typeinfo, err error) {
|
||||
return info, nil
|
||||
}
|
||||
|
||||
func isInteger(k reflect.Kind) bool {
|
||||
return k >= reflect.Int && k <= reflect.Uintptr
|
||||
func isUint(k reflect.Kind) bool {
|
||||
return k >= reflect.Uint && k <= reflect.Uintptr
|
||||
}
|
||||
|
Reference in New Issue
Block a user