mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
swarm/pss: Fix comments
This commit is contained in:
parent
14dd35b0d5
commit
2d5fc9637a
1 changed files with 1 additions and 4 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue