aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/pss
diff options
context:
space:
mode:
authorMatthew Halpern <matthalp@google.com>2019-02-25 15:58:18 +0800
committerViktor TrĂ³n <viktor.tron@gmail.com>2019-02-25 15:58:18 +0800
commit81babe15090e4ac8a8eea1cb07999f9700738786 (patch)
treed8cb63967843504016ced5821bfaf7ce541975cd /swarm/pss
parent4e87b444ca3fc6b808c5c969b571af721c6d6252 (diff)
downloadgo-tangerine-81babe15090e4ac8a8eea1cb07999f9700738786.tar
go-tangerine-81babe15090e4ac8a8eea1cb07999f9700738786.tar.gz
go-tangerine-81babe15090e4ac8a8eea1cb07999f9700738786.tar.bz2
go-tangerine-81babe15090e4ac8a8eea1cb07999f9700738786.tar.lz
go-tangerine-81babe15090e4ac8a8eea1cb07999f9700738786.tar.xz
go-tangerine-81babe15090e4ac8a8eea1cb07999f9700738786.tar.zst
go-tangerine-81babe15090e4ac8a8eea1cb07999f9700738786.zip
swarm/*: remove redundant type specifiers (#19089)
Diffstat (limited to 'swarm/pss')
-rw-r--r--swarm/pss/pss.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/pss/pss.go b/swarm/pss/pss.go
index 0b8cc148c..0a8d757d8 100644
--- a/swarm/pss/pss.go
+++ b/swarm/pss/pss.go
@@ -676,7 +676,7 @@ func (p *Pss) send(to []byte, topic Topic, msg []byte, asymmetric bool, key []by
// sendFunc is a helper function that tries to send a message and returns true on success.
// It is set here for usage in production, and optionally overridden in tests.
-var sendFunc func(p *Pss, sp *network.Peer, msg *PssMsg) bool = sendMsg
+var sendFunc = sendMsg
// tries to send a message, returns true if successful
func sendMsg(p *Pss, sp *network.Peer, msg *PssMsg) bool {