Skip to content

Commit

Permalink
Merge pull request #1 from ltfschoen/ltfschoen-patch-1
Browse files Browse the repository at this point in the history
fix: Fixes #3348. Add missing `.net` to documentation examples
  • Loading branch information
ltfschoen committed Jan 30, 2020
2 parents dc62d7e + 12f29d2 commit 8bb46d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/include_package-net.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Example

.. code-block:: javascript
web3.eth.isListening()
web3.eth.net.isListening()
.then(console.log);
> true
Expand Down Expand Up @@ -101,6 +101,6 @@ Example

.. code-block:: javascript
web3.eth.getPeerCount()
web3.eth.net.getPeerCount()
.then(console.log);
> 25

0 comments on commit 8bb46d5

Please sign in to comment.