Cosmetic changes to restart travis build

This commit is contained in:
Guillaume Ballet 2020-04-08 10:22:47 +02:00
parent 43f13dbaef
commit 80e5e3bd98

View file

@ -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