aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-29 19:06:47 +0800
committerobscuren <geffobscura@gmail.com>2015-01-29 19:06:47 +0800
commitb5918a1faa300773aef58528e51cda4a2ad42f6f (patch)
tree3640afc94ec7780c4f23f8bcf0665e651b74acc6 /rpc
parentd0c6559204b2bbb83afd276a266e15d41f61b2ff (diff)
downloadgo-tangerine-b5918a1faa300773aef58528e51cda4a2ad42f6f.tar.gz
go-tangerine-b5918a1faa300773aef58528e51cda4a2ad42f6f.tar.zst
go-tangerine-b5918a1faa300773aef58528e51cda4a2ad42f6f.zip
removed create
Diffstat (limited to 'rpc')
-rw-r--r--rpc/packages.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/rpc/packages.go b/rpc/packages.go
index 11a172bd6..3eaa71a7f 100644
--- a/rpc/packages.go
+++ b/rpc/packages.go
@@ -73,17 +73,6 @@ func (p *EthereumApi) Transact(args *NewTxArgs, reply *interface{}) error {
return nil
}
-func (p *EthereumApi) Create(args *NewTxArgs, reply *interface{}) error {
- err := args.requirementsContract()
- if err != nil {
- return err
- }
-
- result, _ := p.xeth.Transact( /* TODO specify account */ "", args.Value, args.Gas, args.GasPrice, args.Data)
- *reply = result
- return nil
-}
-
func (p *EthereumApi) PushTx(args *PushTxArgs, reply *interface{}) error {
err := args.requirementsPushTx()
if err != nil {