aboutsummaryrefslogtreecommitdiffstats
path: root/example/contract.html
diff options
context:
space:
mode:
Diffstat (limited to 'example/contract.html')
-rw-r--r--example/contract.html2
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';
});
}