From faabeb854a6e46b46e4f26b22dc2c81e68e2d863 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Sat, 17 Apr 2021 19:17:40 +0200 Subject: refactor: Mark member functions const --- src/net_processing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net_processing.h') diff --git a/src/net_processing.h b/src/net_processing.h index 4556d32377..67252acbb6 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -43,7 +43,7 @@ public: virtual ~PeerManager() { } /** Get statistics from node state */ - virtual bool GetNodeStateStats(NodeId nodeid, CNodeStateStats& stats) = 0; + virtual bool GetNodeStateStats(NodeId nodeid, CNodeStateStats& stats) const = 0; /** Whether this node ignores txs received over p2p. */ virtual bool IgnoresIncomingTxs() = 0; -- cgit v1.2.3