Skip to content

Commit

Permalink
Merge PR #723 from 'nodech/localhost'
Browse files Browse the repository at this point in the history
  • Loading branch information
pinheadmz committed May 16, 2022
2 parents c1f90eb + 198b493 commit a53f877
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion lib/node/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ class HTTPOptions {
this.cors = false;

this.prefix = null;
this.host = 'localhost';
this.host = '127.0.0.1';
this.port = 8080;
this.ssl = false;
this.keyFile = null;
Expand Down
2 changes: 1 addition & 1 deletion lib/wallet/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,7 @@ class HTTPOptions {
this.walletAuth = false;

this.prefix = null;
this.host = 'localhost';
this.host = '127.0.0.1';
this.port = 8080;
this.ssl = false;
this.keyFile = null;
Expand Down
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"bval": "~0.1.6",
"bweb": "~0.1.10",
"goosig": "~0.10.0",
"hs-client": "~0.0.10",
"hs-client": "~0.0.11",
"n64": "~0.2.10",
"urkel": "~1.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion test/auction-rpc-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TestUtil {
options = Object.create(null);

if (!options.host)
options.host = 'localhost';
options.host = '127.0.0.1';

if (!options.nport)
options.nport = 14037;
Expand Down
2 changes: 1 addition & 1 deletion test/node-rpc-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const clientOptions = {
};

const errs = {
MISC_ERROR: -1 >>> 0
MISC_ERROR: -1
};

describe('RPC', function() {
Expand Down

0 comments on commit a53f877

Please sign in to comment.