make nip44 conversation key be static array.

This commit is contained in:
fiatjaf
2024-09-10 21:16:28 -03:00
parent 873453928e
commit c6ea51653b
5 changed files with 176 additions and 70 deletions

View File

@@ -30,8 +30,8 @@ type Signer interface {
}
type Session struct {
SharedKey []byte // nip04
ConversationKey []byte // nip44
SharedKey []byte // nip04
ConversationKey [32]byte // nip44
}
type RelayReadWrite struct {