Merge pull request #2751 from eyezick/patch-1

Specify address as string on Events documentation
This commit is contained in:
chriseth 2017-08-16 11:32:02 +02:00 committed by GitHub
commit 83561e136c

View File

@ -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("0x1234...ab67" /* address */);
var event = clientReceipt.Deposit();