aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api.go13
1 files changed, 4 insertions, 9 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 820bb23b0..f8ba82276 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -303,14 +303,6 @@ func (p *EthereumApi) GetStorageAt(args *GetStorageAtArgs, reply *interface{}) e
return nil
}
-func (p *EthereumApi) GetData(args *GetDataArgs, reply *interface{}) error {
- if err := args.requirements(); err != nil {
- return err
- }
- *reply = p.xethWithStateNum(args.BlockNumber).CodeAt(args.Address)
- return nil
-}
-
func (p *EthereumApi) GetCompilers(reply *interface{}) error {
c := []string{""}
*reply = c
@@ -565,7 +557,10 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
if err := json.Unmarshal(req.Params, &args); err != nil {
return err
}
- return p.GetData(args, reply)
+ if err := args.requirements(); err != nil {
+ return err
+ }
+ *reply = p.xethWithStateNum(args.BlockNumber).CodeAt(args.Address)
case "eth_sendTransaction", "eth_transact":
args := new(NewTxArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {
Fix kde3-i18n ports.lofi2004-12-161-2/+2 * Update to KDE 3.3.2lofi2004-12-143-3/+8 * Update to KDE 3.3.1lofi2004-11-082-3/+25 * Update to KDE 3.3lofi2004-08-313-66/+129 * Update to version 3.2.3lofi2004-06-102-2/+17 * Update to KDE 3.2.2lofi2004-04-202-20/+27 * Update to KDE 3.2.1 / QT 3.3.1lofi2004-03-103-2/+38 * Update to KDE 3.2.0lofi2004-02-053-71/+306 * Add USE_GETTEXT and bump PORTREVISION.marcus2004-02-041-2/+2 * Now gettext 0.12.1 is gettext-old.trevor2004-01-241-1/+1 * Translation update: fix checksum.will2003-09-221-1/+1 * Upgrade to Qt 3.2.1 / KDE 3.1.4. See x11/kde3/Makefile rev 1.64 for details.will2003-09-181-2/+1 * Update KDE to the latest official release, KDE 3.1.3lofi2003-07-292-1/+3 * Update to KDE 3.1.2lioux2003-05-203-6/+38 * Rejoice, for the long awaited upgrade to kde 3.1.1 is here!alane2003-04-062-5/+24 * Clear moonlight beckons.ade2003-03-072-1/+1 * Upgrade kde-i18n to 3.1. Note that the following modules did not get awill2003-01-292-151/+697 * Fix categories to match dir containing port. bsd.port.mk (and portlint)alane2002-10-301-1/+2 * 1. Removed comments from pkg-plist files per will's request.alane2002-10-112-1/+2 * Update to 3.0.3. Not much changed here: [1] i18n PKGNAMEs converted towill2002-08-253-4/+3 * 1. Changed the lib depends on gettext to a build depends. This will meanalane2002-08-031-2/+2 * Bump PORTREVISION. KDE is fragile enough in its dependencies; we don'talane2002-08-021-0/+1 * Chase shlib rev of devel/gettextade2002-08-021-1/+1 * Fix MASTER_SITE_SUBDIR.will2002-07-101-1/+1 * Update to 3.0.2 -- full log available in ports/x11/kde3/Makefile,v 1.51.will2002-07-053-86/+27 * Upgrade to KDE 3.0.1. The delay in this upgrade is mainly due to thewill2002-06-163-171/+145