NatSpec, URL register storage retrieval
fixed 2/3 tests
This commit is contained in:
		| @@ -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") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user