From fbf7a1f8b9863f6c01c4195956260387e5cc2a95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Brand=C3=A3o?= Date: Wed, 31 Jan 2024 14:58:54 +0000 Subject: [PATCH] Removed dummyNode --- cmd/node/main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/node/main.go b/cmd/node/main.go index 5564ddd..a2d9782 100644 --- a/cmd/node/main.go +++ b/cmd/node/main.go @@ -256,11 +256,6 @@ func run() int { server.POST("/api/v1/functions/install", api.Install) server.POST("/api/v1/functions/requests/result", api.ExecutionResult) - apiCopy := api - dummyNode := &dummyNode{Node: node} - api.Node = dummyNode - server.POST("/api/v2/functions/execute", createExecutor(*apiCopy, appchain)) - // Start API in a separate goroutine. go func() {