Skip to content

Commit

Permalink
refactor: fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Kostas Christopoulos <[email protected]>
  • Loading branch information
kchrist-rocketfueldev committed Oct 17, 2023
1 parent 000947b commit 524da9b
Show file tree
Hide file tree
Showing 2 changed files with 317 additions and 291 deletions.
17 changes: 9 additions & 8 deletions docker-integrations/tendermint/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as grpc from '@grpc/grpc-js';
import { TendermintServer } from './server';

import { RuntimeService } from './protos/runtime';
import { TendermintServer } from './server';

const runtimeServer: grpc.Server = new grpc.Server();

Expand Down Expand Up @@ -32,14 +33,14 @@ process.on('SIGINT', shutdown);
process.on('SIGTERM', shutdown);

runtimeServer.bindAsync(
"0.0.0.0:50051",
'0.0.0.0:50051',
grpc.ServerCredentials.createInsecure(),
(error: Error | null, port: number) => {
if (error) {
console.error("Error binding server:", error);
} else {
console.log(`Server running at http://0.0.0.0:${port}`);
runtimeServer.start();
}
if (error) {
console.error('Error binding server:', error);
} else {
console.log(`Server running at http://0.0.0.0:${port}`);
runtimeServer.start();
}
}
);
Loading

0 comments on commit 524da9b

Please sign in to comment.