Browse Source

bug fix

cl-refactor
yann300 10 years ago
parent
commit
cd61d7476d
  1. 2
      mix/qml/js/NetworkDeployment.js

2
mix/qml/js/NetworkDeployment.js

@ -287,7 +287,7 @@ function packageDapp(addresses)
"\taddress: \"" + addresses[c] + "\"\n" +
"};\n" +
contractAccessor + ".contractClass = web3.eth.contract(" + contractAccessor + ".interface);\n" +
contractAccessor + ".contract = new " + contractAccessor + ".contractClass(" + contractAccessor + ".address);\n";
contractAccessor + ".contract = " + contractAccessor + ".contractClass.at(" + contractAccessor + ".address);\n";
}
fileIo.writeFile(deploymentDir + "deployment.js", deploymentJs);
deploymentAddresses = addresses;

Loading…
Cancel
Save