diff options
author | Isaac Ibiapina <isaac@eyezick.com> | 2017-08-16 02:57:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-16 02:57:10 +0800 |
commit | 2dc9e53a4987f8b7c5ed6dd33e71a0185e41d5d7 (patch) | |
tree | f46ecd3ffb9881ede97cde1e0743fdb8906b98e6 /docs/contracts.rst | |
parent | 80f83169b120eab72850842b4c6f39829989a0d8 (diff) | |
download | dexon-solidity-2dc9e53a4987f8b7c5ed6dd33e71a0185e41d5d7.tar.gz dexon-solidity-2dc9e53a4987f8b7c5ed6dd33e71a0185e41d5d7.tar.zst dexon-solidity-2dc9e53a4987f8b7c5ed6dd33e71a0185e41d5d7.zip |
Specify address as string on events documentation
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r-- | docs/contracts.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |