aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorzsfelfoldi <zsfelfoldi@gmail.com>2015-03-31 14:28:12 +0800
committerzelig <viktor.tron@gmail.com>2015-04-20 03:57:48 +0800
commit3136bae4a5f08820d3116b61b783c100c169717c (patch)
tree9295831c571081061a67dd1d670490924e114c22 /cmd
parent97a602864a485bb3a79f460077052bd76cdbff99 (diff)
downloadgo-tangerine-3136bae4a5f08820d3116b61b783c100c169717c.tar
go-tangerine-3136bae4a5f08820d3116b61b783c100c169717c.tar.gz
go-tangerine-3136bae4a5f08820d3116b61b783c100c169717c.tar.bz2
go-tangerine-3136bae4a5f08820d3116b61b783c100c169717c.tar.lz
go-tangerine-3136bae4a5f08820d3116b61b783c100c169717c.tar.xz
go-tangerine-3136bae4a5f08820d3116b61b783c100c169717c.tar.zst
go-tangerine-3136bae4a5f08820d3116b61b783c100c169717c.zip
NatSpec, URL register storage retrieval
fixed 2/3 tests
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geth/js.go7
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")