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: "",
|
Network: "",
|
||||||
Peers: s5config.PeersConfig{Initial: []string{}},
|
Peers: s5config.PeersConfig{Initial: []string{}},
|
||||||
},
|
},
|
||||||
KeyPair: nil,
|
KeyPair: s5ed.New(portal.Identity()),
|
||||||
DB: nil,
|
DB: nil,
|
||||||
Logger: logger,
|
Logger: logger,
|
||||||
HTTP: s5config.HTTPConfig{},
|
HTTP: s5config.HTTPConfig{},
|
||||||
|
|
Loading…
Reference in New Issue