Skip to content

Commit

Permalink
fix: Fixes web3#3348. Add missing .net to documentation examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ltfschoen authored Jan 30, 2020
1 parent dc62d7e commit 12f29d2
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 12f29d2

Please sign in to comment.