diff options
author | zsfelfoldi <zsfelfoldi@gmail.com> | 2015-04-03 23:37:59 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-04-20 03:57:49 +0800 |
commit | e2d333d2095edb349388433c28f4d6a381b1df62 (patch) | |
tree | 2bc2dbf45ffeb1de93606122d263913d790d048f /common/natspec/natspec.go | |
parent | ac0e5e8b6de43a40bbc25f541aa2399202bbe420 (diff) | |
download | dexon-e2d333d2095edb349388433c28f4d6a381b1df62.tar dexon-e2d333d2095edb349388433c28f4d6a381b1df62.tar.gz dexon-e2d333d2095edb349388433c28f4d6a381b1df62.tar.bz2 dexon-e2d333d2095edb349388433c28f4d6a381b1df62.tar.lz dexon-e2d333d2095edb349388433c28f4d6a381b1df62.tar.xz dexon-e2d333d2095edb349388433c28f4d6a381b1df62.tar.zst dexon-e2d333d2095edb349388433c28f4d6a381b1df62.zip |
NatSpec contracts in genesis block, end to end test (unfinished)
Diffstat (limited to 'common/natspec/natspec.go')
-rw-r--r-- | common/natspec/natspec.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/natspec/natspec.go b/common/natspec/natspec.go index 145da14fe..b047f19d6 100644 --- a/common/natspec/natspec.go +++ b/common/natspec/natspec.go @@ -49,11 +49,10 @@ func New(xeth *xeth.XEth, tx string, http *docserver.DocServer) (self *NatSpec, // parse out host/domain // set up nameresolver with natspecreg + urlhint contract addresses - stateReg := NewStateReg(xeth) res := resolver.New( xeth, - stateReg.caNatSpec, - stateReg.caURL, + resolver.NameRegContractAddress, + resolver.URLHintContractAddress, ) // resolve host via nameReg/UrlHint Resolver |