refactor: store portal identity
This commit is contained in:
parent
0bd089e046
commit
522ed11d50
|
@ -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{},
|
||||
|
|
Loading…
Reference in New Issue