From f4fb7d70154b408513ed5e10496be836c05ef286 Mon Sep 17 00:00:00 2001
From: diazjj <jjdiaz@cttc.es>
Date: Tue, 9 Jul 2024 10:56:47 +0200
Subject: [PATCH] Updated code of gRPC server

---
 src/dlt/gateway/dltApp/src/dltGateway.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dlt/gateway/dltApp/src/dltGateway.js b/src/dlt/gateway/dltApp/src/dltGateway.js
index eee51f355..f0ca8120b 100644
--- a/src/dlt/gateway/dltApp/src/dltGateway.js
+++ b/src/dlt/gateway/dltApp/src/dltGateway.js
@@ -225,7 +225,7 @@ server.bindAsync(`0.0.0.0:${PORT}`, grpc.ServerCredentials.createInsecure(), asy
   }
   console.log(`gRPC server running at http://0.0.0.0:${PORT}`);
   await initChaincodeConnection();  //Connects to the chaincode and 
-  server.start();
+  server;
 });
 
 // Handle shutdown gracefully
-- 
GitLab