Skip to content

Commit 84f837d

Browse files
author
abel
committed
(fix) Changed the lcd_endpoint configuration for the bare metal nodes (sentry nodes). We are going to use each node LCD instead of lcd.injective.network
1 parent ecf9322 commit 84f837d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyinjective/constant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def mainnet(cls, node='lb'):
124124
grpc_exchange_endpoint = 'k8s.global.mainnet.exchange.grpc.injective.network:443'
125125
grpc_explorer_endpoint = 'k8s.global.mainnet.explorer.grpc.injective.network:443'
126126
else:
127-
lcd_endpoint='https://lcd.injective.network'
127+
lcd_endpoint=f'http://{node}.injective.network:10337'
128128
tm_websocket_endpoint=f'ws://{node}.injective.network:26657/websocket'
129129
grpc_endpoint=f'{node}.injective.network:9900'
130130
grpc_exchange_endpoint=f'{node}.injective.network:9910'

0 commit comments

Comments
 (0)