From 2ad58381fffb33d611abf900b73d9e6b5a4e35f8 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Wed, 10 Jun 2020 17:11:38 -0700 Subject: Clean up separated ban/discourage interface --- src/interfaces/node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interfaces/node.h') diff --git a/src/interfaces/node.h b/src/interfaces/node.h index 877a40568..b88b5bc14 100644 --- a/src/interfaces/node.h +++ b/src/interfaces/node.h @@ -122,7 +122,7 @@ public: virtual bool getBanned(banmap_t& banmap) = 0; //! Ban node. - virtual bool ban(const CNetAddr& net_addr, BanReason reason, int64_t ban_time_offset) = 0; + virtual bool ban(const CNetAddr& net_addr, int64_t ban_time_offset) = 0; //! Unban node. virtual bool unban(const CSubNet& ip) = 0; -- cgit v1.2.3