From aad9ae5a127a8248a677521901beb1ec519fa5f1 Mon Sep 17 00:00:00 2001 From: Fabian Vogelsteller Date: Thu, 26 Jan 2017 10:32:12 +0100 Subject: [PATCH] changed docs --- docs/web3-eth-contract.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/web3-eth-contract.rst b/docs/web3-eth-contract.rst index 788c55f..571ed1e 100644 --- a/docs/web3-eth-contract.rst +++ b/docs/web3-eth-contract.rst @@ -447,7 +447,7 @@ Returns - ``"transactionHash"`` returns ``String``: is fired right after the transaction is send and a transaction hash is available. - ``"receipt"`` returns ``Object``: is fired when the transaction receipt is available. -- ``"confirmation"`` returns ``Number``, ``Object``: is fired for every confirmation up to the 12th confirmation. Receives the confirmation number as the first and the receipt as the second argument. +- ``"confirmation"`` returns ``Number``, ``Object``: is fired for every confirmation up to the 12th confirmation. Receives the confirmation number as the first and the receipt as the second argument. Fired from confirmation 0 on, which is the block where its minded. - ``"error"`` returns ``Error``: is fired if an error occurs during deployment. @@ -458,7 +458,7 @@ Example .. code-block:: javascript // using the callback - myContract.methods.myMethod(123).send({from: '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe'}, function(error, mixed){ + myContract.methods.myMethod(123).send({from: '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe'}, function(error, hash){ ... });