diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-15 18:39:02 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-15 18:39:02 +0800 |
commit | 70bf1a57113381d33bb26f0d8839f1dacc6fa303 (patch) | |
tree | dbf6ca1065a793a9ba5348efa8b00042727cacf2 | |
parent | bacc5aa6d3dcaf464e19448341dcc8dfc17bcd84 (diff) | |
download | go-tangerine-70bf1a57113381d33bb26f0d8839f1dacc6fa303.tar go-tangerine-70bf1a57113381d33bb26f0d8839f1dacc6fa303.tar.gz go-tangerine-70bf1a57113381d33bb26f0d8839f1dacc6fa303.tar.bz2 go-tangerine-70bf1a57113381d33bb26f0d8839f1dacc6fa303.tar.lz go-tangerine-70bf1a57113381d33bb26f0d8839f1dacc6fa303.tar.xz go-tangerine-70bf1a57113381d33bb26f0d8839f1dacc6fa303.tar.zst go-tangerine-70bf1a57113381d33bb26f0d8839f1dacc6fa303.zip |
fixed typos
-rw-r--r-- | lib/contract.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/contract.js b/lib/contract.js index d38746f01..52ce08705 100644 --- a/lib/contract.js +++ b/lib/contract.js @@ -38,12 +38,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 |