From b5918a1faa300773aef58528e51cda4a2ad42f6f Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 29 Jan 2015 12:06:47 +0100 Subject: [PATCH] removed create --- rpc/packages.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/rpc/packages.go b/rpc/packages.go index 11a172bd6d..3eaa71a7f3 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 {