Skip to content

Commit

Permalink
Fix example in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jplomas committed Jul 17, 2020
1 parent 4cf9d33 commit 2e12a17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ const testnet = new QrlNode(ip, port)
make a connection to the node:

```javascript
testnet.connect().then(client => {
console.log(client.connection) // true if connection successful
testnet.connect().then(() => {
console.log(testnet.connection) // true if connection successful
})
```

Expand Down

0 comments on commit 2e12a17

Please sign in to comment.