aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/pss/handshake.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/pss/handshake.go')
-rw-r--r--swarm/pss/handshake.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/pss/handshake.go b/swarm/pss/handshake.go
index 3b44847ec..e3ead77d0 100644
--- a/swarm/pss/handshake.go
+++ b/swarm/pss/handshake.go
@@ -385,7 +385,7 @@ func (ctl *HandshakeController) sendKey(pubkeyid string, topic *Topic, keycount
// generate new keys to send
for i := 0; i < len(recvkeyids); i++ {
var err error
- recvkeyids[i], err = ctl.pss.generateSymmetricKey(*topic, to, true)
+ recvkeyids[i], err = ctl.pss.GenerateSymmetricKey(*topic, to, true)
if err != nil {
return []string{}, fmt.Errorf("set receive symkey fail (pubkey %x topic %x): %v", pubkeyid, topic, err)
}