From 9a03dfad8387b072d9507e0b617d50d402e63e5c Mon Sep 17 00:00:00 2001 From: Samuel Furter Date: Wed, 16 Oct 2019 01:49:19 +0900 Subject: [PATCH] Update docs/web3-eth-contract.rst Co-Authored-By: cgewecke --- 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 e8b82392d13..98e7e756ea2 100644 --- a/docs/web3-eth-contract.rst +++ b/docs/web3-eth-contract.rst @@ -543,7 +543,7 @@ The **callback** will return the 32 bytes transaction hash. - ``"transactionHash"`` returns ``String``: is fired right after the transaction is sent and a transaction hash is available. - ``"receipt"`` returns ``Object``: is fired when the transaction *receipt* is available. Receipts from contracts will have no ``logs`` property, but instead an ``events`` property with event names as keys and events as properties. See :ref:`getPastEvents return values ` for details about the returned event object. - ``"confirmation"`` returns ``Number``, ``Object``: is fired for every confirmation up to the 24th confirmation. Receives the confirmation number as the first and the receipt as the second argument. Fired from confirmation 1 on, which is the block where it's minded. -- ``"error"`` returns ``Error`` and ``Object|undefined``: is fired if an error occurs during sending. If a out of gas error, the second parameter is the receipt. +``"error"`` returns ``Error`` and ``Object|undefined``: Is fired if an error occurs during sending. If the transaction was rejected by the network with a receipt, the second parameter will be the receipt. -------