From c6de4b60e8eff81cca88a17c3ec2c70122c39981 Mon Sep 17 00:00:00 2001 From: Moses Narrow Date: Fri, 4 Oct 2024 15:48:15 -0500 Subject: [PATCH] fix return of correct dmsg discovery --- pkg/dmsg/const.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/dmsg/const.go b/pkg/dmsg/const.go index ac3e8570..dfe8a7e5 100644 --- a/pkg/dmsg/const.go +++ b/pkg/dmsg/const.go @@ -25,8 +25,7 @@ const ( // DiscAddr returns the address of the dmsg discovery func DiscAddr(testenv bool) string { if testenv { - return skywire.Prod.DmsgDiscovery - + return skywire.Test.DmsgDiscovery } - return skywire.Test.DmsgDiscovery + return skywire.Prod.DmsgDiscovery }