From 70e61fc49b42c32810dca2de1a6bb8eaf1ae53a8 Mon Sep 17 00:00:00 2001 From: linagee Date: Sun, 5 Jul 2015 19:34:46 -0600 Subject: [PATCH] Do not validate shh.post, we don't know how many args (Because there are optional arguments.) --- rpc/api/ssh_js.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/rpc/api/ssh_js.go b/rpc/api/ssh_js.go index f401f70f19..31ea576fa3 100644 --- a/rpc/api/ssh_js.go +++ b/rpc/api/ssh_js.go @@ -5,18 +5,6 @@ web3._extend({ property: 'shh', methods: [ - new web3._extend.Method({ - name: 'post', - call: 'shh_post', - params: 6, - inputFormatter: [web3._extend.formatters.formatInputString, - web3._extend.formatters.formatInputString, - web3._extend.formatters.formatInputString, - , - , web3._extend.formatters.formatInputInt - , web3._extend.formatters.formatInputInt], - outputFormatter: web3._extend.formatters.formatOutputBool - }), ], properties: [