mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 20:16:36 +00:00
removed create
This commit is contained in:
parent
d0c6559204
commit
b5918a1faa
1 changed files with 0 additions and 11 deletions
|
|
@ -73,17 +73,6 @@ func (p *EthereumApi) Transact(args *NewTxArgs, reply *interface{}) error {
|
||||||
return nil
|
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 {
|
func (p *EthereumApi) PushTx(args *PushTxArgs, reply *interface{}) error {
|
||||||
err := args.requirementsPushTx()
|
err := args.requirementsPushTx()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue