diff options
Diffstat (limited to 'common/natspec/statereg.go')
-rw-r--r-- | common/natspec/statereg.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/natspec/statereg.go b/common/natspec/statereg.go index b76990540..53d4a3081 100644 --- a/common/natspec/statereg.go +++ b/common/natspec/statereg.go @@ -9,9 +9,9 @@ type StateReg struct { caURL, caNatSpec string //contract addresses } -func NewStateReg(_xeth *xeth.XEth) (self *StateReg) { - - self.xeth = _xeth +func NewStateReg(xeth *xeth.XEth) (self *StateReg) { + self = &StateReg{} + self.xeth = xeth self.testCreateContracts() return |