fix rpc server launch

pull/205/head
André Silva 7 years ago
parent 5a91d5b7a4
commit 6d53e643f2
  1. 4
      lib/app.js

@ -173,8 +173,8 @@ class App {
launchTestrpc() {
return new Promise((resolve, reject) => {
if (!this.norpc) {
const defaultRpcOptions = `--gasLimit ${gasLimitHex} --accounts ${this.accounts} --port ${this.port}`;
const options = this.testrpcOptions + ` --gasLimit ${gasLimitHex}` || defaultRpcOptions;
const defaultRpcOptions = `--accounts ${this.accounts} --port ${this.port}`;
const options = (this.testrpcOptions || defaultRpcOptions) + ` --gasLimit ${gasLimitHex}`;
const command = './node_modules/ethereumjs-testrpc-sc/build/cli.node.js ';
// Launch

Loading…
Cancel
Save