aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/shhapi/api.go
diff options
context:
space:
mode:
authorgluk256 <gluk256@users.noreply.github.com>2017-01-31 18:16:20 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-01-31 18:16:20 +0800
commit690f6ea1d74f949d4830d3a38c786510fc43d37c (patch)
treef60153a53bc05fabf8981a9a5d9868033fdae209 /whisper/shhapi/api.go
parent1c140f73820e2a915dcc61eccaeca7ea359cf07b (diff)
downloadgo-tangerine-690f6ea1d74f949d4830d3a38c786510fc43d37c.tar
go-tangerine-690f6ea1d74f949d4830d3a38c786510fc43d37c.tar.gz
go-tangerine-690f6ea1d74f949d4830d3a38c786510fc43d37c.tar.bz2
go-tangerine-690f6ea1d74f949d4830d3a38c786510fc43d37c.tar.lz
go-tangerine-690f6ea1d74f949d4830d3a38c786510fc43d37c.tar.xz
go-tangerine-690f6ea1d74f949d4830d3a38c786510fc43d37c.tar.zst
go-tangerine-690f6ea1d74f949d4830d3a38c786510fc43d37c.zip
cmd/wnode, whisper: add whisper CLI tool and mail server (#3580)
Diffstat (limited to 'whisper/shhapi/api.go')
-rw-r--r--whisper/shhapi/api.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/whisper/shhapi/api.go b/whisper/shhapi/api.go
index 379bb90d3..b273053ec 100644
--- a/whisper/shhapi/api.go
+++ b/whisper/shhapi/api.go
@@ -93,12 +93,12 @@ func (api *PublicWhisperAPI) MarkPeerTrusted(peerID hexutil.Bytes) error {
// data contains parameters (time frame, payment details, etc.), required
// by the remote email-like server. Whisper is not aware about the data format,
// it will just forward the raw data to the server.
-func (api *PublicWhisperAPI) RequestHistoricMessages(peerID hexutil.Bytes, data hexutil.Bytes) error {
- if api.whisper == nil {
- return whisperOffLineErr
- }
- return api.whisper.RequestHistoricMessages(peerID, data)
-}
+//func (api *PublicWhisperAPI) RequestHistoricMessages(peerID hexutil.Bytes, data hexutil.Bytes) error {
+// if api.whisper == nil {
+// return whisperOffLineErr
+// }
+// return api.whisper.RequestHistoricMessages(peerID, data)
+//}
// HasIdentity checks if the whisper node is configured with the private key
// of the specified public pair.