diff options
Diffstat (limited to 'dist/ethereum.js')
-rw-r--r-- | dist/ethereum.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/ethereum.js b/dist/ethereum.js index 2ce1346b4..204eb0dde 100644 --- a/dist/ethereum.js +++ b/dist/ethereum.js @@ -443,12 +443,12 @@ var ETH_METHOD_SIGNATURE_LENGTH = 4; * var abi = [{ * name: 'myMethod', * inputs: [{ name: 'a', type: 'string' }], - * outputs: [{name 'd', type: 'string' }] + * outputs: [{name: 'd', type: 'string' }] * }]; // contract abi * * var myContract = web3.eth.contract('0x0123123121', abi); // creation of contract object * - * myContract.myMethod('this is test string param for call').cal(); // myMethod call + * myContract.myMethod('this is test string param for call').call(); // myMethod call * myContract.myMethod('this is test string param for transact').transact() // myMethod transact * * @param address - address of the contract, which should be called |