Merge pull request #205 from andresilva/andre-fix-rpc-launch

Fix rpc server launch
pull/206/head
c-g-e-w-e-k-e- 7 years ago committed by GitHub
commit 00565992b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lib/app.js

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

Loading…
Cancel
Save