accounts/abi: satisfy most of the linter warnings

+ adding missing comments
+ small cleanups which won't significantly change
  function body.
+ unify Method receiver name
This commit is contained in:
Robert Zaremba
2017-11-10 02:48:51 +01:00
committed by Martin Holst Swende
parent 0ed8b838a9
commit 95461e8b22
7 changed files with 88 additions and 96 deletions

View File

@ -29,6 +29,7 @@ type Argument struct {
Indexed bool // indexed is only used by events
}
// UnmarshalJSON implements json.Unmarshaler interface
func (a *Argument) UnmarshalJSON(data []byte) error {
var extarg struct {
Name string