summaryrefslogtreecommitdiff
path: root/src/network.h
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2022-01-08 18:28:32 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2022-01-08 18:53:04 +0100
commit21e1b04474ee5e8bc7acdd53772331f850234811 (patch)
tree05151b9305c327d3991ecec5614c8ee7a5915a4a /src/network.h
parent76319277261ac2d894921eeedf3a359d8353344e (diff)
Channel: use counter to generate nonce
Diffstat (limited to 'src/network.h')
-rw-r--r--src/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network.h b/src/network.h
index a59a1bc..40c06bf 100644
--- a/src/network.h
+++ b/src/network.h
@@ -50,7 +50,7 @@ struct Server::Peer
Stored<ChannelRequest>,
shared_ptr<struct WaitingRef>,
Stored<ChannelAccept>,
- Stored<Channel>> channel;
+ unique_ptr<Channel>> channel;
Storage tempStorage;
PartialStorage partStorage;