From 2d5fc9637a51d8e025469ccc41f9f973e7b7a21f Mon Sep 17 00:00:00 2001 From: lash Date: Fri, 19 Oct 2018 08:06:27 +0200 Subject: [PATCH] swarm/pss: Fix comments --- swarm/pss/pss.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/swarm/pss/pss.go b/swarm/pss/pss.go index 8b9a66eef7..71299fb210 100644 --- a/swarm/pss/pss.go +++ b/swarm/pss/pss.go @@ -139,7 +139,7 @@ type Pss struct { handlers map[Topic]map[*handler]bool // topic and version based pss payload handlers. See pss.Handle() handlersMu sync.RWMutex hashPool sync.Pool - topicHandlerCaps map[Topic]byte // caches capabilities of each topic's handlers (see topicHandlerCap* consts) + topicHandlerCaps map[Topic]byte // caches capabilities of each topic's handlers (see handlerCap* consts in types.go) // process quitC chan struct{} @@ -719,9 +719,6 @@ func (p *Pss) enqueue(msg *PssMsg) error { // // Will fail if raw messages are disallowed func (p *Pss) SendRaw(address PssAddress, topic Topic, msg []byte) error { - //if !p.allowRaw { - // return errors.New("Raw messages not enabled") - //} pssMsgParams := &msgParams{ raw: true, }