From 2dc9e53a4987f8b7c5ed6dd33e71a0185e41d5d7 Mon Sep 17 00:00:00 2001 From: Isaac Ibiapina Date: Tue, 15 Aug 2017 14:57:10 -0400 Subject: Specify address as string on events documentation --- docs/contracts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contracts.rst b/docs/contracts.rst index 93671691..5683ba77 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(); -- cgit ntu.edu.tw/~b01902062/git/gsoc2013-epiphany' title='gsoc2013-epiphany Git repository'/>
aboutsummaryrefslogtreecommitdiffstats