Commit 03e0ee8b authored by David Stainton's avatar David Stainton

Fix stupid SURB reply bug

parent 6c8da943
Pipeline #963 failed with stage
in 10 minutes and 52 seconds
......@@ -232,7 +232,7 @@ func (s *Session) onACK(surbID *[sConstants.SURBIDLength]byte, ciphertext []byte
idStr := fmt.Sprintf("[%v]", hex.EncodeToString(surbID[:]))
s.log.Infof("OnACK with SURBID %x", idStr)
rawMessage, ok := s.surbIDMap.Load(surbID)
rawMessage, ok := s.surbIDMap.Load(*surbID)
if !ok {
s.log.Debug("Strange, received reply with unexpected SURBID")
return nil
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment