This commit is contained in:
Anthony Laibe 2018-09-17 10:13:40 +01:00
parent 3a210f602b
commit b2206b9358
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ module.exports = {
} }
}, },
SomeContract: { SomeContract: {
deployIf: 'MyToken.methods.isAvailable().call()', deployIf: 'await MyToken.methods.isAvailable().call()',
args: [ args: [
["$MyToken2", "$SimpleStorage"], ["$MyToken2", "$SimpleStorage"],
100 100

View File

@ -41,7 +41,7 @@ config({
} }
}, },
SomeContract: { SomeContract: {
deployIf: "MyToken.methods.isAvailable().call()", deployIf: "await MyToken.methods.isAvailable().call()",
args: [ args: [
["$MyToken2", "$SimpleStorage"], ["$MyToken2", "$SimpleStorage"],
100 100