diff options
author | Guillaume Ballet <gballet@gmail.com> | 2017-10-06 21:53:29 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-10-06 21:53:29 +0800 |
commit | 36243c7ed8c53e9de92d21bbcf0378d7e1c7a07e (patch) | |
tree | aa160fef696fd2eb0b5418e4086c666c1fd9feed /internal/web3ext | |
parent | 1ae0411d419d2178727048021f8dc09b6ccd1d82 (diff) | |
download | go-tangerine-36243c7ed8c53e9de92d21bbcf0378d7e1c7a07e.tar go-tangerine-36243c7ed8c53e9de92d21bbcf0378d7e1c7a07e.tar.gz go-tangerine-36243c7ed8c53e9de92d21bbcf0378d7e1c7a07e.tar.bz2 go-tangerine-36243c7ed8c53e9de92d21bbcf0378d7e1c7a07e.tar.lz go-tangerine-36243c7ed8c53e9de92d21bbcf0378d7e1c7a07e.tar.xz go-tangerine-36243c7ed8c53e9de92d21bbcf0378d7e1c7a07e.tar.zst go-tangerine-36243c7ed8c53e9de92d21bbcf0378d7e1c7a07e.zip |
internal/web3ext: make whisper v5 methods work (#15111)
Diffstat (limited to 'internal/web3ext')
-rw-r--r-- | internal/web3ext/web3ext.go | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go index 215eae701..1ae6e2d73 100644 --- a/internal/web3ext/web3ext.go +++ b/internal/web3ext/web3ext.go @@ -528,109 +528,6 @@ const Shh_JS = ` web3._extend({ property: 'shh', methods: [ - new web3._extend.Method({ - name: 'setMaxMessageLength', - call: 'shh_setMaxMessageLength', - params: 1 - }), - new web3._extend.Method({ - name: 'setMinimumPoW', - call: 'shh_setMinimumPoW', - params: 1 - }), - new web3._extend.Method({ - name: 'markTrustedPeer', - call: 'shh_markTrustedPeer', - params: 1 - }), - new web3._extend.Method({ - name: 'hasKeyPair', - call: 'shh_hasKeyPair', - params: 1 - }), - new web3._extend.Method({ - name: 'deleteKeyPair', - call: 'shh_deleteKeyPair', - params: 1 - }), - new web3._extend.Method({ - name: 'newKeyPair', - call: 'shh_newKeyPair' - }), - new web3._extend.Method({ - name: 'getPublicKey', - call: 'shh_getPublicKey', - params: 1 - }), - new web3._extend.Method({ - name: 'getPrivateKey', - call: 'shh_getPrivateKey', - params: 1 - }), - new web3._extend.Method({ - name: 'newSymKey', - call: 'shh_newSymKey', - }), - new web3._extend.Method({ - name: 'addSymKey', - call: 'shh_addSymKey', - params: 1 - }), - new web3._extend.Method({ - name: 'generateSymKeyFromPassword', - call: 'shh_generateSymKeyFromPassword', - params: 1 - }), - new web3._extend.Method({ - name: 'hasSymKey', - call: 'shh_hasSymKey', - params: 1 - }), - new web3._extend.Method({ - name: 'getSymKey', - call: 'shh_getSymKey', - params: 1 - }), - new web3._extend.Method({ - name: 'deleteSymKey', - call: 'shh_deleteSymKey', - params: 1 - }), - new web3._extend.Method({ - name: 'subscribe', - call: 'shh_subscribe', - params: 2 - }), - new web3._extend.Method({ - name: 'unsubscribe', - call: 'shh_unsubscribe', - params: 1 - }), - new web3._extend.Method({ - name: 'post', - call: 'shh_post', - params: 1 - }), - new web3._extend.Method({ - name: 'publicKey', - call: 'shh_getPublicKey', - params: 1 - }), - new web3._extend.Method({ - name: 'getFilterMessages', - call: 'shh_getFilterMessages', - params: 1 - }), - new web3._extend.Method({ - name: 'deleteMessageFilter', - call: 'shh_deleteMessageFilter', - params: 1 - }), - new web3._extend.Method({ - name: 'newMessageFilter', - call: 'shh_newMessageFilter', - params: 1 - }), ], properties: [ |