add missing default from

This commit is contained in:
Iuri Matias 2018-05-11 15:39:45 -04:00
parent bd0e4a9960
commit 26187cfa1d
1 changed files with 1 additions and 0 deletions

View File

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