whisper/whisperv5: set filter SymKeyHash on creation (#15165)

This commit is contained in:
Guillaume Ballet
2017-10-06 16:04:21 +02:00
committed by Felix Lange
parent 36243c7ed8
commit 7a045af05b
5 changed files with 331 additions and 17 deletions

View File

@ -104,7 +104,7 @@ func (api *PublicWhisperAPI) Info(ctx context.Context) Info {
stats := api.w.Stats()
return Info{
Memory: stats.memoryUsed,
Messages: len(api.w.messageQueue) + len(api.w.p2pMsgQueue),
Messages: len(api.w.messageQueue) + len(api.w.p2pMsgQueue),
MinPow: api.w.MinPow(),
MaxMessageSize: api.w.MaxMessageSize(),
}