From 235059684a7401fb824e72c8f6b38c4c356d58e8 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 11 May 2018 15:39:45 -0400 Subject: [PATCH] add missing default from --- lib/pipeline/pipeline.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pipeline/pipeline.js b/lib/pipeline/pipeline.js index dfd49d01b..f9530d09a 100644 --- a/lib/pipeline/pipeline.js +++ b/lib/pipeline/pipeline.js @@ -265,6 +265,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";