mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-19 02:03:14 +00:00
add missing default from
This commit is contained in:
parent
e510e846f5
commit
235059684a
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user