From 522ed11d50780215b30d3e6b575a7504f9e78afa Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 12 Jan 2024 08:22:40 -0500 Subject: [PATCH] refactor: store portal identity --- protocols/s5.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/s5.go b/protocols/s5.go index 071f309..4af554b 100644 --- a/protocols/s5.go +++ b/protocols/s5.go @@ -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{},