comment web3 test override to avoid confusion in the test_app
This commit is contained in:
parent
ab5dc059e7
commit
9e1778f62c
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue