From f6efb3471a9be43e060f618317c5d4188093ce44 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 20 Jul 2018 19:03:46 +0300 Subject: [PATCH] move proxy out of core --- lib/cmds/simulator.js | 2 +- lib/{core => contracts}/proxy.js | 0 lib/modules/blockchain_process/blockchain.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename lib/{core => contracts}/proxy.js (100%) diff --git a/lib/cmds/simulator.js b/lib/cmds/simulator.js index e160b321f..8254fd3db 100644 --- a/lib/cmds/simulator.js +++ b/lib/cmds/simulator.js @@ -1,6 +1,6 @@ const path = require('path'); let shelljs = require('shelljs'); -let proxy = require('../core/proxy'); +let proxy = require('../contracts/proxy'); const Ipc = require('../core/ipc'); const constants = require('../constants.json'); const {defaultHost, dockerHostSwap} = require('../utils/host'); diff --git a/lib/core/proxy.js b/lib/contracts/proxy.js similarity index 100% rename from lib/core/proxy.js rename to lib/contracts/proxy.js diff --git a/lib/modules/blockchain_process/blockchain.js b/lib/modules/blockchain_process/blockchain.js index 9e881a0e2..d391ba5b9 100644 --- a/lib/modules/blockchain_process/blockchain.js +++ b/lib/modules/blockchain_process/blockchain.js @@ -85,7 +85,7 @@ Blockchain.prototype.setupProxy = function() { return; } - const proxy = require('../../core/proxy'); + const proxy = require('../../contracts/proxy'); const Ipc = require('../../core/ipc'); let ipcObject = new Ipc({ipcRole: 'client'});