diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-10 01:04:40 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-10 06:08:46 +0800 |
commit | b4fa94c4b1459e71d4f11a3178cf56edf2b4aed3 (patch) | |
tree | cfc4b47a97d854f388fd935b836089051be01246 /rpc/api.go | |
parent | 2ee88a220ac22a814def1d568f80d7f29ede7095 (diff) | |
download | dexon-b4fa94c4b1459e71d4f11a3178cf56edf2b4aed3.tar.gz dexon-b4fa94c4b1459e71d4f11a3178cf56edf2b4aed3.tar.zst dexon-b4fa94c4b1459e71d4f11a3178cf56edf2b4aed3.zip |
xeth: don't sign transactions for tx call
This should make calls faster and removes interaction
with account manager.
Diffstat (limited to 'rpc/api.go')
-rw-r--r-- | rpc/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go index b622945eb..9c792dd61 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -269,7 +269,7 @@ func (p *EthereumApi) Transact(args *NewTxArgs, reply *interface{}) error { } func (p *EthereumApi) Call(args *NewTxArgs, reply *interface{}) error { - result, err := p.xeth().Call( /* TODO specify account */ args.To, args.Value, args.Gas, args.GasPrice, args.Data) + result, err := p.xeth().Call(args.From, args.To, args.Value, args.Gas, args.GasPrice, args.Data) if err != nil { return err } |