mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 19:48:13 +00:00
removed outdated lines from examples...
This commit is contained in:
parent
7b161b4ca4
commit
1d2c032376
@ -31,8 +31,6 @@
|
||||
// let's assume that coinbase is our account
|
||||
web3.eth.defaultAccount = web3.eth.coinbase;
|
||||
|
||||
var watch = web3.eth.filter('latest');
|
||||
|
||||
// create contract
|
||||
document.getElementById('status').innerText = "transaction sent, waiting for confirmation";
|
||||
web3.eth.contract(abi).new({data: code}, function (err, contract) {
|
||||
|
@ -31,8 +31,6 @@
|
||||
// let's assume that coinbase is our account
|
||||
web3.eth.defaultAccount = web3.eth.coinbase;
|
||||
|
||||
var watch = web3.eth.filter('latest');
|
||||
|
||||
// create contract
|
||||
document.getElementById('status').innerText = "transaction sent, waiting for confirmation";
|
||||
web3.eth.contract(abi).new({data: code}, function (err, contract) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user