mirror of https://github.com/embarklabs/embark.git
rename blockchain connector
This commit is contained in:
parent
3f2c514d18
commit
3579394baf
|
@ -6,7 +6,7 @@ const utils = require('../utils/utils');
|
||||||
const WEB3_READY = 'web3Ready';
|
const WEB3_READY = 'web3Ready';
|
||||||
|
|
||||||
// TODO: consider another name, this is the blockchain connector
|
// TODO: consider another name, this is the blockchain connector
|
||||||
class Blockchain {
|
class BlockchainConnector {
|
||||||
constructor(options) {
|
constructor(options) {
|
||||||
const self = this;
|
const self = this;
|
||||||
this.plugins = options.plugins;
|
this.plugins = options.plugins;
|
||||||
|
@ -277,5 +277,5 @@ class Blockchain {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = Blockchain;
|
module.exports = BlockchainConnector;
|
||||||
|
|
||||||
|
|
|
@ -195,6 +195,7 @@ class Engine {
|
||||||
this.registerModule('specialconfigs');
|
this.registerModule('specialconfigs');
|
||||||
this.registerModule('console_listener', {ipc: this.ipc});
|
this.registerModule('console_listener', {ipc: this.ipc});
|
||||||
|
|
||||||
|
// TODO: need to refactor dependencies before moving into a module
|
||||||
const ContractsManager = require('../contracts/contracts.js');
|
const ContractsManager = require('../contracts/contracts.js');
|
||||||
this.contractsManager = new ContractsManager({
|
this.contractsManager = new ContractsManager({
|
||||||
contractFiles: this.config.contractsFiles,
|
contractFiles: this.config.contractsFiles,
|
||||||
|
|
Loading…
Reference in New Issue