From 07f61b1ad6363cd471b7dab3f94c3160636fd6a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 6 May 2023 08:58:34 +0200 Subject: Server: do not return reference to self identity --- include/erebos/network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/erebos') diff --git a/include/erebos/network.h b/include/erebos/network.h index 07ae586..b47efee 100644 --- a/include/erebos/network.h +++ b/include/erebos/network.h @@ -24,7 +24,7 @@ public: const Head & localHead() const; const Bhv & localState() const; - const Identity & identity() const; + Identity identity() const; template S & svc(); class PeerList & peerList() const; -- cgit v1.2.3