Skip to content

Commit

Permalink
accounts/abi/bind: removed unused type defs
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusVanDerWijden committed Apr 2, 2020
1 parent ad18014 commit 99f747f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions accounts/abi/bind/topics.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,6 @@ func makeTopics(query ...[]interface{}) ([][]common.Hash, error) {
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.
func parseTopics(out interface{}, fields abi.Arguments, topics []common.Hash) error {
store := func(arg abi.Argument, reconstr interface{}) {
Expand Down

0 comments on commit 99f747f

Please sign in to comment.