Fix static peer on Ygg demo build
MODIFY
cmd/dendrite-demo-yggdrasil/main.go
cmd/dendrite-demo-yggdrasil/main.go
@@ -59,6 +59,9 @@ func main() {
panic(err)
}
ygg.SetMulticastEnabled(true)
+ if instancePeer != nil && *instancePeer != "" {
+ ygg.SetStaticPeer(*instancePeer)
+ }
cfg := &config.Dendrite{}
cfg.SetDefaults()

Fix static peer on Ygg demo build