Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 8bb46d5

Browse files
authored
Merge pull request #1 from ltfschoen/ltfschoen-patch-1
fix: Fixes #3348. Add missing `.net` to documentation examples
2 parents dc62d7e + 12f29d2 commit 8bb46d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/include_package-net.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Example
6666

6767
.. code-block:: javascript
6868
69-
web3.eth.isListening()
69+
web3.eth.net.isListening()
7070
.then(console.log);
7171
> true
7272
@@ -101,6 +101,6 @@ Example
101101

102102
.. code-block:: javascript
103103
104-
web3.eth.getPeerCount()
104+
web3.eth.net.getPeerCount()
105105
.then(console.log);
106106
> 25

0 commit comments

Comments
 (0)