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});
|
callback({contractCode: options.contract.code});
|
||||||
});
|
});
|
||||||
|
|
||||||
embark.registerClientWeb3Provider(function(options) {
|
// NOTE: uncommenting this will make dappConnection stop working
|
||||||
return "web3 = new Web3(new Web3.providers.HttpProvider('http://" + options.rpcHost + ":" + options.rpcPort + "'));";
|
//embark.registerClientWeb3Provider(function(options) {
|
||||||
});
|
// return "web3 = new Web3(new Web3.providers.HttpProvider('http://" + options.rpcHost + ":" + options.rpcPort + "'));";
|
||||||
|
//});
|
||||||
|
|
||||||
embark.registerConsoleCommand((cmd) => {
|
embark.registerConsoleCommand((cmd) => {
|
||||||
if (cmd === "hello") {
|
if (cmd === "hello") {
|
||||||
|
|
Loading…
Reference in New Issue