aboutsummaryrefslogtreecommitdiffstats
path: root/whisper
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-22 20:23:11 +0800
committerobscuren <geffobscura@gmail.com>2014-12-22 20:23:11 +0800
commit4051c0333f43765a7414a4e0e8ac51e7148b0646 (patch)
tree87c3637424820a681b88723bc666f3d01c069e82 /whisper
parente42517754ac2912b6d3ca78a34b8aeadf8805906 (diff)
downloadgo-tangerine-4051c0333f43765a7414a4e0e8ac51e7148b0646.tar.gz
go-tangerine-4051c0333f43765a7414a4e0e8ac51e7148b0646.tar.zst
go-tangerine-4051c0333f43765a7414a4e0e8ac51e7148b0646.zip
Added whisper js api
Diffstat (limited to 'whisper')
-rw-r--r--whisper/whisper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/whisper/whisper.go b/whisper/whisper.go
index 9721ca9f9..ffcdd7d40 100644
--- a/whisper/whisper.go
+++ b/whisper/whisper.go
@@ -175,7 +175,7 @@ func (self *Whisper) add(envelope *Envelope) error {
if !self.expiry[envelope.Expiry].Has(hash) {
self.expiry[envelope.Expiry].Add(hash)
- self.postEvent(envelope)
+ go self.postEvent(envelope)
}
return nil