comment web3 test override to avoid confusion in the test_app

This commit is contained in:
Iuri Matias 2018-05-10 19:57:26 -04:00
parent ab5dc059e7
commit 9e1778f62c
1 changed files with 4 additions and 3 deletions

View File

@ -28,9 +28,10 @@ module.exports = function (embark) {
callback({contractCode: options.contract.code});
});
embark.registerClientWeb3Provider(function(options) {
return "web3 = new Web3(new Web3.providers.HttpProvider('http://" + options.rpcHost + ":" + options.rpcPort + "'));";
});
// NOTE: uncommenting this will make dappConnection stop working
//embark.registerClientWeb3Provider(function(options) {
// return "web3 = new Web3(new Web3.providers.HttpProvider('http://" + options.rpcHost + ":" + options.rpcPort + "'));";
//});
embark.registerConsoleCommand((cmd) => {
if (cmd === "hello") {