Skip to content

Commit

Permalink
correct example in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbosworth committed Jun 30, 2020
1 parent 391f9a4 commit 52c2131
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,9 @@ const {connectWatchtower, getTowerServerInfo} = require('ln-service');

const {tower} = await getTowerServerInfo({lnd: towerServerLnd});

await connectWatchtower({lnd, public_key: tower.public_key, socket: tower.socket});
const [socket] = tower.sockets;

await connectWatchtower({lnd, socket, public_key: tower.public_key});
```

### createChainAddress
Expand Down

0 comments on commit 52c2131

Please sign in to comment.