[net] remove unused return type bool from CNode::Ban()

This commit is contained in:
Jonas Schnelli
2017-03-02 13:23:03 -08:00
committed by Jack Grigg
parent 962ec4b5e4
commit 445cd761c5
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -613,7 +613,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);