Update 13_3_Setting_Up_a_Channel.md

This commit is contained in:
Javier Vargas 2020-07-16 22:59:43 +02:00 committed by GitHub
parent ff0bd995c7
commit e2f5006d90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,10 +110,10 @@ c$ lightning-cli --network listchannels
The first thing you need to do is connect your node to a peer. This is done with the `lightning-cli connect` command. Remember that if you want more information on this command, you should type `lightning-cli help connect`. The connect RPC command establishes a new connection with another node in the Lightning Network.
To connect your node to a remote peer you need it's id that represents the target nodes public key. As a convenience, id may be of the form id@host or id@host:port. Using `lightning-cli help listnodes` command you obtain all nodes available on the network and choose one.
To connect your node to a remote peer you need it's id that represents the target nodes public key. As a convenience, id may be of the form id@host or id@host:port. Using `lightning-cli listnodes` command you obtain all nodes available on the network and choose one.
```
c$ lightning-cli help listnodes
c$ lightning-cli listnodes
```
Output
```