diff --git a/docs/contracts.rst b/docs/contracts.rst index 936716917..5683ba775 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -626,7 +626,7 @@ The use in the JavaScript API would be as follows: var abi = /* abi as generated by the compiler */; var ClientReceipt = web3.eth.contract(abi); - var clientReceipt = ClientReceipt.at(0x123 /* address */); + var clientReceipt = ClientReceipt.at("0x123" /* string of address */); var event = clientReceipt.Deposit();