From 3ba55712a7f51a261e0013644da8d2d42a9206e2 Mon Sep 17 00:00:00 2001 From: 8lecramm <89603217+8lecramm@users.noreply.github.com> Date: Fri, 19 Aug 2022 23:55:35 +0200 Subject: [PATCH] #1 fix concurrent connection write --- proxy/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/server.go b/proxy/server.go index 2ad1e22..8f47664 100644 --- a/proxy/server.go +++ b/proxy/server.go @@ -214,7 +214,7 @@ func newUpgrader() *websocket.Upgrader { // Update miners information return } else { - go SendToDaemon(data) + SendToDaemon(data) if !config.Pool_mode { fmt.Printf("%v Submitting result from miner: %v, Wallet: %v\n", time.Now().Format(time.Stamp), c.RemoteAddr().String(), client_list[c].address.String()) } else {