aboutsummaryrefslogtreecommitdiffstats
path: root/ethrpc
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-25 21:13:54 +0800
committerobscuren <geffobscura@gmail.com>2014-05-25 21:13:54 +0800
commit81ef40010f6f31bc94f654048b41fa3a9f9e07eb (patch)
tree6ce0d9cd254a284fedf9abda8553374cc336e15b /ethrpc
parent99fa9afaf15ceecffcc5b7051ffe9c7f0d179dec (diff)
downloaddexon-81ef40010f6f31bc94f654048b41fa3a9f9e07eb.tar
dexon-81ef40010f6f31bc94f654048b41fa3a9f9e07eb.tar.gz
dexon-81ef40010f6f31bc94f654048b41fa3a9f9e07eb.tar.bz2
dexon-81ef40010f6f31bc94f654048b41fa3a9f9e07eb.tar.lz
dexon-81ef40010f6f31bc94f654048b41fa3a9f9e07eb.tar.xz
dexon-81ef40010f6f31bc94f654048b41fa3a9f9e07eb.tar.zst
dexon-81ef40010f6f31bc94f654048b41fa3a9f9e07eb.zip
The body of contracts are now returned instead
Diffstat (limited to 'ethrpc')
-rw-r--r--ethrpc/packages.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethrpc/packages.go b/ethrpc/packages.go
index 87cfc99b2..1c4fb99f6 100644
--- a/ethrpc/packages.go
+++ b/ethrpc/packages.go
@@ -137,7 +137,7 @@ func (p *EthereumApi) Create(args *NewTxArgs, reply *string) error {
if err != nil {
return err
}
- result, _ := p.ethp.Create(p.ethp.GetKey().PrivateKey, args.Value, args.Gas, args.GasPrice, args.Init, args.Body)
+ result, _ := p.ethp.Create(p.ethp.GetKey().PrivateKey, args.Value, args.Gas, args.GasPrice, args.Body)
*reply = NewSuccessRes(result)
return nil
}