|
@ -17,7 +17,7 @@ reloadPage = function() { |
|
|
|
|
|
|
|
|
updateContracts = function(contracts) { |
|
|
updateContracts = function(contracts) { |
|
|
if (window.web3) { |
|
|
if (window.web3) { |
|
|
window.web3.provider.polls = []; |
|
|
window.web3.reset(); |
|
|
window.contracts = {}; |
|
|
window.contracts = {}; |
|
|
for (var c in contracts) { |
|
|
for (var c in contracts) { |
|
|
var contract = window.web3.eth.contract(contracts[c].address, contracts[c].interface); |
|
|
var contract = window.web3.eth.contract(contracts[c].address, contracts[c].interface); |
|
|