We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1426c1d commit cc9b711Copy full SHA for cc9b711
amisforum/live/conference/app.js
@@ -67,7 +67,7 @@ function metamaskIsInstalled() {
67
68
// Initialize
69
function initializeConference() {
70
- Conference.new({from: accounts, gas: 3141592}).then(
+ Conference.web3({from: accounts, gas: 3141592}).then(
71
function(conf) {
72
console.log(conf);
73
myConferenceInstance = conf;
@@ -95,7 +95,7 @@ function checkValues() {
95
96
// Change Quota
97
function changeQuota(val) {
98
- myConferenceInstance.changeQuota(val, {from: accounts[0]}).then(
+ myConferenceInstance.changeQuota(val, {from: accounts}).then(
99
function() {
100
return myConferenceInstance.quota.call();
101
}).then(
0 commit comments