Apply suggestions from code review

Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
This commit is contained in:
Igor Sirotin 2026-07-10 10:56:07 +01:00 committed by GitHub
parent d25e7eb5a7
commit 3e6666eabe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ package common
type WakuConfig struct {
// Host is the LibP2P listening address; the consolidated WakuNodeConf calls
// it listenAddress (the legacy `host` key was removed).
// it listenAddress. This expects an IPv4.
Host string `json:"listenAddress,omitempty"`
Nodekey string `json:"nodekey,omitempty"`
Relay bool `json:"relay"`

View File

@ -74,7 +74,7 @@ func TestRelaySendReceive(t *testing.T) {
publish()
ticker := time.NewTicker(1 * time.Second)
defer ticker.Stop()
deadline := time.After(30 * time.Second)
deadline := time.After(10 * time.Second)
for {
select {
case env := <-receiver.MsgChan: