add missing default from

This commit is contained in:
Iuri Matias 2018-05-11 15:39:45 -04:00
parent e510e846f5
commit 235059684a

View File

@ -265,6 +265,7 @@ class Pipeline {
contractCode += "\n__embarkContext.execWhenReady(function() {\n"; contractCode += "\n__embarkContext.execWhenReady(function() {\n";
contractCode += "\n" + contractName + ".setProvider(web3.currentProvider);\n"; contractCode += "\n" + contractName + ".setProvider(web3.currentProvider);\n";
contractCode += "\n" + contractName + ".options.from = web3.eth.defaultAccount;\n";
contractCode += "\n});\n"; contractCode += "\n});\n";
contractCode += "export default " + contractName + ";\n"; contractCode += "export default " + contractName + ";\n";