diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-22 20:23:11 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-22 20:23:11 +0800 |
commit | 4051c0333f43765a7414a4e0e8ac51e7148b0646 (patch) | |
tree | 87c3637424820a681b88723bc666f3d01c069e82 /whisper | |
parent | e42517754ac2912b6d3ca78a34b8aeadf8805906 (diff) | |
download | dexon-4051c0333f43765a7414a4e0e8ac51e7148b0646.tar.gz dexon-4051c0333f43765a7414a4e0e8ac51e7148b0646.tar.zst dexon-4051c0333f43765a7414a4e0e8ac51e7148b0646.zip |
Added whisper js api
Diffstat (limited to 'whisper')
-rw-r--r-- | whisper/whisper.go | 2 |
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 |