chore(blockchain): rename `log geth` cmd to log blockchain

This commit is contained in:
Jonathan Rainville 2018-12-06 15:59:29 -05:00 committed by Iuri Matias
parent e2257e8026
commit 8b0d37ca9e
1 changed files with 2 additions and 2 deletions

View File

@ -52,14 +52,14 @@ class BlockchainModule {
const self = this; const self = this;
self.embark.registerConsoleCommand((cmd, _options) => { self.embark.registerConsoleCommand((cmd, _options) => {
return { return {
match: () => cmd === 'log geth on', match: () => cmd === 'log blockchain on',
process: (cb) => self.events.request('logs:ethereum:turnOn', cb) process: (cb) => self.events.request('logs:ethereum:turnOn', cb)
}; };
}); });
self.embark.registerConsoleCommand((cmd, _options) => { self.embark.registerConsoleCommand((cmd, _options) => {
return { return {
match: () => cmd === 'log geth off', match: () => cmd === 'log blockchain off',
process: (cb) => self.events.request('logs:ethereum:turnOff', cb) process: (cb) => self.events.request('logs:ethereum:turnOff', cb)
}; };
}); });