From 1a8e5a5abd86fc7592b83b4eeab546a5dd07a32c Mon Sep 17 00:00:00 2001 From: ramiro Date: Tue, 21 Mar 2017 16:26:45 -0300 Subject: [PATCH] fixes async on blockchains --- lib/cmds/blockchain/blockchain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cmds/blockchain/blockchain.js b/lib/cmds/blockchain/blockchain.js index d41681b3..cc6e2f50 100644 --- a/lib/cmds/blockchain/blockchain.js +++ b/lib/cmds/blockchain/blockchain.js @@ -49,7 +49,7 @@ Blockchain.prototype.run = function() { console.log("===============================================================================".magenta); var address = this.initChainAndGetAddress(); this.client.mainCommand(address, function(cmd) { - self.runCommand(cmd, {async:true}); + shelljs.exec(cmd, {async : true}); }); };