fixed natspec_contract.html example

This commit is contained in:
Marek Kotewicz 2015-01-20 09:22:32 +01:00
parent 83505e61f3
commit 5c79ee4446
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
<head>
<script type="text/javascript" src="js/es6-promise/promise.min.js"></script>
<script type="text/javascript" src="js/bignumber.js/bignumber.min.js"></script>
<script type="text/javascript" src="../dist/ethereum.js"></script>
<script type="text/javascript">
@ -44,7 +45,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';
});
}