Fix envelope version and add a TODO comment
This commit is contained in:
parent
4431c4ea77
commit
72dae4ba63
2 changed files with 2 additions and 1 deletions
2
core.go
2
core.go
|
@ -15,7 +15,7 @@ func (s *Session) Close(data []byte) (*Letter, error) { //nolint:gocognit
|
|||
letter := &Letter{}
|
||||
|
||||
if s.wire == nil || s.wire.msgNo == 0 {
|
||||
letter.Version = 1
|
||||
letter.Version = s.envelope.Version
|
||||
letter.SuiteID = s.envelope.SuiteID
|
||||
}
|
||||
|
||||
|
|
|
@ -188,6 +188,7 @@ func (e *Envelope) prepSignets(signets []*Signet, recipients bool, storage Trust
|
|||
// keys are _always_ signets
|
||||
if signet.Scheme == SignetSchemeKey {
|
||||
recipients = false
|
||||
// TODO: spills to next loop
|
||||
}
|
||||
|
||||
// signet is referrer
|
||||
|
|
Loading…
Add table
Reference in a new issue