mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Cosmetic changes to restart travis build
This commit is contained in:
parent
43f13dbaef
commit
80e5e3bd98
1 changed files with 3 additions and 3 deletions
|
|
@ -125,7 +125,7 @@ func parseTopicsIntoMap(out map[string]interface{}, fields abi.Arguments, topics
|
||||||
//
|
//
|
||||||
// Note, dynamic types cannot be reconstructed since they get mapped to Keccak256
|
// Note, dynamic types cannot be reconstructed since they get mapped to Keccak256
|
||||||
// hashes as the topic value!
|
// hashes as the topic value!
|
||||||
func parseTopicWithSetter(fields abi.Arguments, topics []common.Hash, set func(abi.Argument, interface{})) error {
|
func parseTopicWithSetter(fields abi.Arguments, topics []common.Hash, setter func(abi.Argument, interface{})) error {
|
||||||
// Sanity check that the fields and topics match up
|
// Sanity check that the fields and topics match up
|
||||||
if len(fields) != len(topics) {
|
if len(fields) != len(topics) {
|
||||||
return errors.New("topic/field count mismatch")
|
return errors.New("topic/field count mismatch")
|
||||||
|
|
@ -157,8 +157,8 @@ func parseTopicWithSetter(fields abi.Arguments, topics []common.Hash, set func(a
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Use the set function to store the value
|
// Use the setter function to store the value
|
||||||
set(arg, reconstr)
|
setter(arg, reconstr)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue