Commit f4fb7d70 authored by Javier Diaz's avatar Javier Diaz
Browse files

Updated code of gRPC server

parent 130537bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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