diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-13 20:03:40 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-13 20:03:40 +0800 |
commit | 1428dcee21105c2682568e2124a0a5ce6a3e7ae3 (patch) | |
tree | 0b42b3c6f0169600e8dbb398739b6c1f2b121607 /example | |
parent | f3b71a73e3edd6fb097dcc921cfafb440a9fb283 (diff) | |
download | go-tangerine-1428dcee21105c2682568e2124a0a5ce6a3e7ae3.tar go-tangerine-1428dcee21105c2682568e2124a0a5ce6a3e7ae3.tar.gz go-tangerine-1428dcee21105c2682568e2124a0a5ce6a3e7ae3.tar.bz2 go-tangerine-1428dcee21105c2682568e2124a0a5ce6a3e7ae3.tar.lz go-tangerine-1428dcee21105c2682568e2124a0a5ce6a3e7ae3.tar.xz go-tangerine-1428dcee21105c2682568e2124a0a5ce6a3e7ae3.tar.zst go-tangerine-1428dcee21105c2682568e2124a0a5ce6a3e7ae3.zip |
web3.contract -> web3.eth.contract
Diffstat (limited to 'example')
-rw-r--r-- | example/contract.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/contract.html b/example/contract.html index 403d8c9d1..9666678a8 100644 --- a/example/contract.html +++ b/example/contract.html @@ -43,7 +43,7 @@ // create contract web3.eth.transact({code: web3.eth.solidity(source)}).then(function (address) { - contract = web3.contract(address, desc); + contract = web3.eth.contract(address, desc); document.getElementById('call').style.visibility = 'visible'; }); } |