contract addresses include hex prefix

- simplify resolver and tests
- added missing test for KeyToUrl
- fix notice error message and its test with !%x(MISSING)
- natspec test: insertTx modified - does not prepend 0x to contract address
- disable networking in e2e test
This commit is contained in:
zelig
2015-04-19 19:24:46 +01:00
parent 71c974f3eb
commit 093a9106b0
4 changed files with 38 additions and 37 deletions

View File

@ -195,7 +195,7 @@ func (self *NatSpec) Notice() (notice string, err error) {
meth := self.makeAbi2method(abiKey)
if meth == nil {
err = fmt.Errorf("abi key %x does not match any method %v")
err = fmt.Errorf("abi key does not match any method")
return
}
notice, err = self.noticeForMethod(self.tx, meth.name, meth.Notice)