Specify address as string on events documentation

This commit is contained in:
Isaac Ibiapina 2017-08-15 14:57:10 -04:00 committed by GitHub
parent 80f83169b1
commit 2dc9e53a49

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("0x123" /* string of address */);
var event = clientReceipt.Deposit();