Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
mykelp committed Feb 21, 2018
1 parent ccd9318 commit a00afb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/espresso.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default class Espresso {
}

async run() {
await this.server.start(this.port);
await this.server.start();

this.resolver = new Resolver(this.config);
this.testSource = new TestSource(this.config);
Expand Down
3 changes: 1 addition & 2 deletions src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ export default class Server {
});
this.web3 = new Web3();
this.accounts = [];
this.startingPort = options.port || 8545;
portfinder.basePort = this.startingPort;
portfinder.basePort = options.port || 8545;
}

async start() {
Expand Down

0 comments on commit a00afb7

Please sign in to comment.