Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Removed dummyNode
Browse files Browse the repository at this point in the history
  • Loading branch information
guilherme-brandao committed Jan 31, 2024
1 parent 7ccedeb commit fbf7a1f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/node/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {

Expand Down

0 comments on commit fbf7a1f

Please sign in to comment.