Primary Session should return LocalAddr

This commit is contained in:
idk
2021-02-26 16:04:18 -05:00
parent ddbe66bfe9
commit 818f18648a

View File

@ -64,15 +64,6 @@ func (ss *PrimarySession) LocalAddr() net.Addr {
return &aa
}
func (ss *PrimarySession) Read(b []byte) (n int, err error) {
//rint, _, rerr := s.ReadFrom(b)
return 0, nil // rint, rerr
}
func (s *PrimarySession) Write(b []byte) (int, error) {
return 0, nil // s.WriteTo(b, s.remoteAddr)
}
// Returns the keys associated with the stream session
func (ss *PrimarySession) Keys() i2pkeys.I2PKeys {
return ss.keys