mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-07-22 18:49:30 +00:00
Apply suggestions from code review
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
This commit is contained in:
parent
d25e7eb5a7
commit
3e6666eabe
@ -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"`
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user