Skip to content

Commit

Permalink
Cleanup and bump v.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Cardona committed Jul 22, 2018
1 parent dd2cce1 commit b0e73c8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
4 changes: 0 additions & 4 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ io.on('connection', (socket) => {
} else if(decoded === 'rawblock') {
}
});

socket.on('disconnect', function(){
console.log('user disconnected');
});
});
/**
* Listen on provided port, on all network interfaces.
Expand Down
7 changes: 0 additions & 7 deletions bin/www

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "rest-cloud",
"version": "1.2.2",
"version": "1.3.0",
"private": true,
"scripts": {
"start": "node ./bin/www",
"start": "node app.js",
"dev": "nodemon app.js",
"test": "nyc mocha --require babel-core/register --timeout 5000"
},
Expand Down
2 changes: 1 addition & 1 deletion test/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe("#NetworkRouter", () => {

mockResponse.on('end', () => {
let actualResponseBody = Object.keys(JSON.parse(mockResponse._getData()));
assert.deepEqual(actualResponseBody, [ 'version', 'subversion', 'protocolversion', 'localservices', 'localrelay', 'timeoffset', 'networkactive', 'connections', 'networks', 'relayfee', 'incrementalfee', 'localaddresses', 'warnings' ]);
assert.deepEqual(actualResponseBody, [ 'version', 'subversion', 'protocolversion', 'localservices', 'localrelay', 'timeoffset', 'networkactive', 'connections', 'networks', 'relayfee', 'excessutxocharge', 'incrementalfee', 'localaddresses', 'warnings' ]);
done();
});
});
Expand Down

0 comments on commit b0e73c8

Please sign in to comment.