diff options
author | zelig <viktor.tron@gmail.com> | 2015-03-08 21:17:20 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-03-08 21:17:20 +0800 |
commit | 0743d68d4c4938549dde881428edd4141fa1a5f9 (patch) | |
tree | ead16291e96463d297f9b892ca236020c0d1d4ca /ethutil/natspec/natspec.go | |
parent | 97dc4edb4569225f4b819717a2fabf0209d312e0 (diff) | |
download | dexon-0743d68d4c4938549dde881428edd4141fa1a5f9.tar dexon-0743d68d4c4938549dde881428edd4141fa1a5f9.tar.gz dexon-0743d68d4c4938549dde881428edd4141fa1a5f9.tar.bz2 dexon-0743d68d4c4938549dde881428edd4141fa1a5f9.tar.lz dexon-0743d68d4c4938549dde881428edd4141fa1a5f9.tar.xz dexon-0743d68d4c4938549dde881428edd4141fa1a5f9.tar.zst dexon-0743d68d4c4938549dde881428edd4141fa1a5f9.zip |
rename constructor New
Diffstat (limited to 'ethutil/natspec/natspec.go')
-rw-r--r-- | ethutil/natspec/natspec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethutil/natspec/natspec.go b/ethutil/natspec/natspec.go index ebc2658da..793bf59ae 100644 --- a/ethutil/natspec/natspec.go +++ b/ethutil/natspec/natspec.go @@ -10,7 +10,7 @@ type NatSpec struct { } // TODO: should initialise with abi and userdoc jsons -func NewNATSpec() (self *NatSpec, err error) { +func New() (self *NatSpec, err error) { self = new(NatSpec) self.jsvm = otto.New() |