diff --git a/accounts/abi/numbers.go b/accounts/abi/numbers.go index 0cd97cc66f..a551520912 100644 --- a/accounts/abi/numbers.go +++ b/accounts/abi/numbers.go @@ -48,12 +48,3 @@ var ( func U256(n *big.Int) []byte { return math.PaddedBigBytes(math.U256(n), 32) } - -// checks whether the given reflect value is signed. This also works for slices with a number type -func isSigned(v reflect.Value) bool { - switch v.Type() { - case intTS, int8TS, int16TS, int32TS, int64TS, intT, int8T, int16T, int32T, int64T: - return true - } - return false -}