accounts/abi/bind: removed unused type defs

This commit is contained in:
Marius van der Wijden 2020-03-19 19:23:58 +01:00
parent ad18014854
commit 99f747ff4c

View file

@ -103,13 +103,6 @@ func makeTopics(query ...[]interface{}) ([][]common.Hash, error) {
return topics, nil return topics, nil
} }
// Big batch of reflect types for topic reconstruction.
var (
reflectHash = reflect.TypeOf(common.Hash{})
reflectAddress = reflect.TypeOf(common.Address{})
reflectBigInt = reflect.TypeOf(new(big.Int))
)
// parseTopics converts the indexed topic fields into actual log field values. // parseTopics converts the indexed topic fields into actual log field values.
func parseTopics(out interface{}, fields abi.Arguments, topics []common.Hash) error { func parseTopics(out interface{}, fields abi.Arguments, topics []common.Hash) error {
store := func(arg abi.Argument, reconstr interface{}) { store := func(arg abi.Argument, reconstr interface{}) {