Skip to content

Commit

Permalink
net: fixup nits
Browse files Browse the repository at this point in the history
  • Loading branch information
theuni authored and Fuzzbawls committed Jun 13, 2020
1 parent 5a51a5f commit 059ca2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ BITCOIN_CORE_H = \
messagesigner.h \
miner.h \
mruset.h \
netbase.h \
net.h \
netaddress.h \
netbase.h \
noui.h \
policy/fees.h \
pow.h \
Expand Down
2 changes: 1 addition & 1 deletion src/httpserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ static bool InitHTTPAllowList()
CNetAddr localv6;
LookupHost("127.0.0.1", localv4, false);
LookupHost("::1", localv6, false);
rpc_allow_subnets.push_back(CSubNet(localv4, 8)); // always allow IPv4 local subnet
rpc_allow_subnets.push_back(CSubNet(localv4, 8)); // always allow IPv4 local subnet
rpc_allow_subnets.push_back(CSubNet(localv6)); // always allow IPv6 localhost
if (mapMultiArgs.count("-rpcallowip")) {
const std::vector<std::string>& vAllow = mapMultiArgs["-rpcallowip"];
Expand Down

0 comments on commit 059ca2c

Please sign in to comment.