Skip to content

Commit 831ea4a

Browse files
committed
BSC fixed instructions in README
1 parent 07a1af4 commit 831ea4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bsc/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Alternatively, you can manually check [Geth Syncing Status](https://geth.ethereu
136136
NODE_INTERNAL_IP=$(aws ec2 describe-instances --instance-ids $INSTANCE_ID --query 'Reservations[*].Instances[*].PrivateIpAddress' --output text)
137137
138138
curl http://$NODE_INTERNAL_IP:8545 -X POST -H "Content-Type: application/json" \
139-
--data '{ "jsonrpc": "2.0", "id": 1, "method": "eth_syncing", "params": []}'
139+
--data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}'
140140
```
141141
142142
It will return `false` if the node is in sync. If `eth_syncing` returns anything other than false it has not finished syncing. Generally, if syncing is still ongoing, `eth_syncing` will return block info that looks as follows:
@@ -202,7 +202,7 @@ Alternatively, you can manually check [Geth Syncing Status](https://geth.ethereu
202202
203203
```bash
204204
curl http://$RPC_ALB_URL:8545 -X POST -H "Content-Type: application/json" \
205-
--data '{ "jsonrpc": "2.0", "id": 1, "method": "eth_syncing", "params": []}'
205+
--data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}'
206206
```
207207
208208
It will return `false` if the node is in sync. If `eth_syncing` returns anything other than false it has not finished syncing. Generally, if syncing is still ongoing, `eth_syncing` will return block info that looks as follows:

0 commit comments

Comments
 (0)