From 6d15d00ac4b5f162737a27dfa6f8e9976383776e Mon Sep 17 00:00:00 2001 From: bas-vk Date: Thu, 22 Dec 2016 01:51:20 +0100 Subject: accounts/abi: add support for "anonymous" and "indexed" for events (#3464) --- accounts/abi/argument.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'accounts/abi/argument.go') diff --git a/accounts/abi/argument.go b/accounts/abi/argument.go index 188203a5d..4faafdd3b 100644 --- a/accounts/abi/argument.go +++ b/accounts/abi/argument.go @@ -33,6 +33,7 @@ func (a *Argument) UnmarshalJSON(data []byte) error { var extarg struct { Name string Type string + Indexed bool } err := json.Unmarshal(data, &extarg) if err != nil { @@ -44,6 +45,7 @@ func (a *Argument) UnmarshalJSON(data []byte) error { return err } a.Name = extarg.Name + a.Indexed = extarg.Indexed return nil } -- cgit