Skip to content

Commit cc9b711

Browse files
committed
update
1 parent 1426c1d commit cc9b711

File tree

1 file changed

+2
-2
lines changed
  • amisforum/live/conference

1 file changed

+2
-2
lines changed

amisforum/live/conference/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function metamaskIsInstalled() {
6767

6868
// Initialize
6969
function initializeConference() {
70-
Conference.new({from: accounts, gas: 3141592}).then(
70+
Conference.web3({from: accounts, gas: 3141592}).then(
7171
function(conf) {
7272
console.log(conf);
7373
myConferenceInstance = conf;
@@ -95,7 +95,7 @@ function checkValues() {
9595

9696
// Change Quota
9797
function changeQuota(val) {
98-
myConferenceInstance.changeQuota(val, {from: accounts[0]}).then(
98+
myConferenceInstance.changeQuota(val, {from: accounts}).then(
9999
function() {
100100
return myConferenceInstance.quota.call();
101101
}).then(

0 commit comments

Comments
 (0)