aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/natspec/natspec.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethutil/natspec/natspec.go')
-rw-r--r--ethutil/natspec/natspec.go2
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()