mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-17 08:07:51 +00:00
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__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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user