From 12f29d2771a55b60984ea01a604b726d66c4ca16 Mon Sep 17 00:00:00 2001 From: Luke Schoen Date: Thu, 30 Jan 2020 12:39:47 +0100 Subject: [PATCH] fix: Fixes #3348. Add missing `.net` to documentation examples --- docs/include_package-net.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/include_package-net.rst b/docs/include_package-net.rst index ddba6ec7eae..3b0b0bc4ea8 100644 --- a/docs/include_package-net.rst +++ b/docs/include_package-net.rst @@ -66,7 +66,7 @@ Example .. code-block:: javascript - web3.eth.isListening() + web3.eth.net.isListening() .then(console.log); > true @@ -101,6 +101,6 @@ Example .. code-block:: javascript - web3.eth.getPeerCount() + web3.eth.net.getPeerCount() .then(console.log); > 25