mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
accounts/abi/bind: removed unused type defs
This commit is contained in:
parent
ad18014854
commit
99f747ff4c
1 changed files with 0 additions and 7 deletions
|
|
@ -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{}) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue