mirror of https://github.com/embarklabs/embark.git
add missing default from
This commit is contained in:
parent
bd0e4a9960
commit
26187cfa1d
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue