aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api.go')
-rw-r--r--rpc/api.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/rpc/api.go b/rpc/api.go
index e2a18528b..0d67afca0 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -303,11 +303,6 @@ func (p *EthereumApi) GetStorageAt(args *GetStorageAtArgs, reply *interface{}) e
return nil
}
-func (p *EthereumApi) NewWhisperIdentity(reply *interface{}) error {
- *reply = p.xeth().Whisper().NewIdentity()
- return nil
-}
-
// func (p *EthereumApi) RemoveWhisperIdentity(args *WhisperIdentityArgs, reply *interface{}) error {
// *reply = p.xeth().Whisper().RemoveIdentity(args.Identity)
// return nil
@@ -703,6 +698,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
if err := json.Unmarshal(req.Params, &args); err != nil {
return err
}
+
if err := args.requirements(); err != nil {
return err
}
@@ -718,7 +714,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
}
return p.WhisperPost(args, reply)
case "shh_newIdentity":
- return p.NewWhisperIdentity(reply)
+ *reply = p.xeth().Whisper().NewIdentity()
// case "shh_removeIdentity":
// args := new(WhisperIdentityArgs)
// if err := json.Unmarshal(req.Params, &args); err != nil {
lass='commitgraph'>* Stage 1 of gettext update.Ade Lovett2002-03-161-1/+1 * update licq-devel port to 12 Mar 2002 CVS snapshotMax Khon2002-03-131-1/+0 * upgrade to 4.6.5Ying-Chieh Liao2002-03-084-12/+16 * Update to 0.53Patrick Li2002-03-065-34/+97 * Fix breakage in net/naim on installMichael Haro2002-02-263-8/+4 * Update checksum.Kevin Lo2002-02-241-1/+1 * Update to 0.52Patrick Li2002-02-225-208/+137 * Pass over maintainership to Joe Marcus Clarke <marcus@marcuscom.com>Maxim Sobolev2002-02-201-21/+21 * upgrade to 4.6.0Ying-Chieh Liao2002-02-162-2/+2 * Broken is removed, Package will display the message.Dirk Meyer2002-02-132-4/+9 * Update checksum. Security fix $HOME/.vicq will have 0700 permissions whileKevin Lo2002-02-091-1/+1 * update to 0.11.2Michael Haro2002-02-092-2/+2 * Fix pth is in the library path.Kevin Lo2002-02-081-0/+3 * Add an ability to build licq plugins using licq-devel port:Max Khon2002-02-084-0/+10 * Mark as Broken for XFree86 4.x.x.Dirk Meyer2002-02-071-0/+4 * Apply patch adds -DWITH_DANTE (should be specified with -DWITH_SOCKS).Dirk Meyer2002-02-071-0/+8 * Update to version 0.4Kevin Lo2002-02-053-4/+15 * upgrade to 4.5.1Ying-Chieh Liao2002-02-012-4/+3 * Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;Akinori MUSHA2002-01-293-8/+8 * Update maintainer email addressPatrick Li2002-01-291-1/+1 * Take Maintainership to see errors.Dirk Meyer2002-01-272-2/+2 * - Change the Makefile.in so i386--freebsd4.4-licq is _not_ installed.Dirk Meyer2002-01-271-3/+2 * Have the licq binary installed regardless of system characteristicsMario Sergio Fujikawa Ferreira2002-01-271-0/+3 * - Update for 1.0.4Dirk Meyer2002-01-264-12/+22 * Stop maintaining these ports. I haven't been able to get them compile toBrian Feldman2002-01-263-3/+3 * Update to version 0.51.Jim Mock2002-01-253-2/+3 * update aim-transport to 0.9.24c.FUJISHIMA Satsuki2002-01-234-16/+23 * add py-jabber 0.2Ying-Chieh Liao2002-01-135-0/+45 * Update to 0.2.2Patrick Li2002-01-083-3/+4 * Fix for building on -CURRENT without <malloc.h>Jeremy Lea2002-01-072-0/+28 * First round of auto* cleanups:Will Andrews2002-01-061-6/+2 * Update 0.96.1 -> 0.98Jacques Vidrine2001-12-2914-66/+176 * o Actually install libsMario Sergio Fujikawa Ferreira2001-12-263-120/+135 * - PORTDOCS policePatrick Li2001-12-242-6/+6 * Update to 0.2.0Mario Sergio Fujikawa Ferreira2001-12-226-32/+140 * autotools police: don't hardcode aclocal, use variable ACLOCALMario Sergio Fujikawa Ferreira2001-12-201-1/+1 * Backout previous change - it seems that new revision of the patch doesn'tMaxim Sobolev2001-12-201-17/+8 * Don't filter libc_r on 5-CURRENT.Maxim Sobolev2001-12-201-8/+17 * upgrade to 4.5.0Ying-Chieh Liao2001-12-165-50/+20 * Update to version 0.50.Jim Mock2001-12-154-32/+36 * vICQ includes Net::ICQ2000Kevin Lo2001-12-071-2/+0 * - Update to 1.5.234;Maxim Sobolev2001-12-063-13/+36 * fix checksum error.Kevin Lo2001-12-061-1/+1 * Correct WWW.Maxim Sobolev2001-12-062-2/+2 * Initial import of vicq-0.3.Kevin Lo2001-12-065-0/+36 * Initial import of Net-ICQ2000-0.2.1Kevin Lo2001-12-065-0/+30 * upgrade to 4.2.1Ying-Chieh Liao2001-12-032-2/+2 * Dont include getopt.hPatrick Li2001-12-021-0/+10 * Update to version 0.49.Jim Mock2001-12-012-2/+2 * upgrade to 4.2.0Ying-Chieh Liao2001-11-303-15/+2 * Update MAINTAINER's email address: anders@codefactory.se -> anders@hack.orgPete Fritchman2001-11-302-2/+2 * - update to 0.99ePete Fritchman2001-11-257-48/+149 * upgrade to 4.1.0Ying-Chieh Liao2001-11-244-4/+13 * Fix breakage and avoid installing useless .la filePatrick Li2001-11-233-4/+29 * add koi8 supportYing-Chieh Liao2001-11-222-1/+9 * add ickleYing-Chieh Liao2001-11-215-0/+49 * Style police: WWW tags should either end in a file/script or TRAILING /; Fix ...Mario Sergio Fujikawa Ferreira2001-11-213-3/+3 * Update to version 0.48.Jim Mock2001-11-172-2/+2 * Update to version 0.47.Jim Mock2001-11-036-136/+48 * Update to 0.18.2.Jeroen Ruigrok van der Werven2001-11-012-2/+2 * Don't link in libc - FreeBSD doesn't need this.Maxim Sobolev2001-10-311-3/+16 * add missing file to PLISTYing-Chieh Liao2001-10-201-0/+1 * update to 0.10.3Michael Haro2001-10-192-2/+2 * Update to version 0.45.Jim Mock2001-10-117-91/+218 * upgrade to 4.0.0Ying-Chieh Liao2001-10-085-10/+11 * add missing po file to PLISTYing-Chieh Liao2001-10-051-0/+1 * Give maintainership to Sean Chittenden <sean@chittenden.org>Pete Fritchman2001-10-051-1/+1 * Enable SSLPete Fritchman2001-10-051-0/+3 * Add a missing file to the packing list.Jim Mock2001-10-02