fixed natspec_contract.html example

pull/272/merge
Marek Kotewicz 10 years ago
parent 83505e61f3
commit 5c79ee4446
  1. 3
      example/natspec_contract.html

@ -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';
});
}

Loading…
Cancel
Save