diff options
author | zsfelfoldi <zsfelfoldi@gmail.com> | 2015-03-31 14:28:12 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-04-20 03:57:48 +0800 |
commit | 3136bae4a5f08820d3116b61b783c100c169717c (patch) | |
tree | 9295831c571081061a67dd1d670490924e114c22 /cmd/geth/js.go | |
parent | 97a602864a485bb3a79f460077052bd76cdbff99 (diff) | |
download | dexon-3136bae4a5f08820d3116b61b783c100c169717c.tar.gz dexon-3136bae4a5f08820d3116b61b783c100c169717c.tar.zst dexon-3136bae4a5f08820d3116b61b783c100c169717c.zip |
NatSpec, URL register storage retrieval
fixed 2/3 tests
Diffstat (limited to 'cmd/geth/js.go')
-rw-r--r-- | cmd/geth/js.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cmd/geth/js.go b/cmd/geth/js.go index 0ac2e319e..d63ac1015 100644 --- a/cmd/geth/js.go +++ b/cmd/geth/js.go @@ -26,7 +26,6 @@ import ( "github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/common/natspec" - "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/eth" re "github.com/ethereum/go-ethereum/jsre" "github.com/ethereum/go-ethereum/rpc" @@ -140,11 +139,11 @@ var net = web3.net; js.re.Eval(globalRegistrar + "registrar = new GlobalRegistrar(\"" + globalRegistrarAddr + "\");") } -func (self *jsre) ConfirmTransaction(tx *types.Transaction) bool { +func (self *jsre) ConfirmTransaction(tx string) bool { var notice string - nat, err := natspec.New() + nat, err := natspec.New(self.xeth, tx) if err == nil { - notice, err = nat.Notice(tx) + notice, err = nat.Notice() } if err != nil { notice = fmt.Sprintf("About to submit transaction: %v") |