diff --git a/docs/private-networks/how-to/use-privacy/web3js-quorum.md b/docs/private-networks/how-to/use-privacy/web3js-quorum.md index 5e96ec51a9e..5538b3f9bc9 100644 --- a/docs/private-networks/how-to/use-privacy/web3js-quorum.md +++ b/docs/private-networks/how-to/use-privacy/web3js-quorum.md @@ -46,7 +46,7 @@ Initialize your client where: # Syntax ```js -const Web3 = require("web3"); +const { Web3 } = require("web3"); const Web3Quorum = require("web3js-quorum"); const web3 = new Web3Quorum(new Web3("")); ``` @@ -54,7 +54,7 @@ const web3 = new Web3Quorum(new Web3("")); # Example ```js -const Web3 = require("web3"); +const { Web3 } = require("web3"); const Web3Quorum = require("web3js-quorum"); const web3 = new Web3Quorum(new Web3("http://localhost:8545")); ```