From dbc31a60611cc1d334781dc57014d9d3f7ac06d2 Mon Sep 17 00:00:00 2001 From: Fabian Vogelsteller Date: Mon, 14 Nov 2016 16:35:28 +0100 Subject: [PATCH] docs make deploy callback optional --- docs/web3-eth-contract.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/web3-eth-contract.rst b/docs/web3-eth-contract.rst index c79cf89..c64ccb1 100644 --- a/docs/web3-eth-contract.rst +++ b/docs/web3-eth-contract.rst @@ -207,7 +207,7 @@ deploy .. code-block:: javascript - myContract.deploy(options, callback) + myContract.deploy(options[, callback]) Call this function to deploy the contract to the blockchain. After successfull deployment the ``myContract.options.address`` will be set automatically to the newly deployed contract.