aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJonas Schnelli <jonas.schnelli@include7.ch>2015-05-19 17:15:25 +0200
committerJonas Schnelli <jonas.schnelli@include7.ch>2015-06-17 21:40:55 +0200
commite8b93473f12ec901f965cd244a7437646ee66c43 (patch)
tree205e3bc737ce3b3c7cf4abcec9a5a6e83e4e30af /src/net.h
parent1086ffba2639098558422935eba1cae9983dd913 (diff)
[net] remove unused return type bool from CNode::Ban()
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index dd6fca3960..ee3da16aa6 100644
--- a/src/net.h
+++ b/src/net.h
@@ -606,7 +606,7 @@ public:
// new code.
static void ClearBanned(); // needed for unit testing
static bool IsBanned(CNetAddr ip);
- static bool Ban(const CNetAddr &ip, int64_t bantimeoffset = 0);
+ static void Ban(const CNetAddr &ip, int64_t bantimeoffset = 0);
static bool Unban(const CNetAddr &ip);
static void GetBanned(std::map<CNetAddr, int64_t> &banmap);