refactor: store portal identity

This commit is contained in:
Derrick Hammer 2024-01-12 08:22:40 -05:00
parent 0bd089e046
commit 522ed11d50
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ func (s *S5Protocol) Initialize(portal interfaces.Portal) error {
Network: "",
Peers: s5config.PeersConfig{Initial: []string{}},
},
KeyPair: nil,
KeyPair: s5ed.New(portal.Identity()),
DB: nil,
Logger: logger,
HTTP: s5config.HTTPConfig{},