From cb5da2d51552f30f0ac908597d007224f3284a01 Mon Sep 17 00:00:00 2001 From: Chanhyuck Ko Date: Fri, 27 Dec 2024 14:53:16 +0900 Subject: [PATCH] feat: use random guid as identity --- src/Libplanet.Net/Transports/NetMQChannel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Libplanet.Net/Transports/NetMQChannel.cs b/src/Libplanet.Net/Transports/NetMQChannel.cs index 42fd5fbc38..b92b9b7657 100644 --- a/src/Libplanet.Net/Transports/NetMQChannel.cs +++ b/src/Libplanet.Net/Transports/NetMQChannel.cs @@ -114,6 +114,7 @@ private async Task ProcessRuntime() var ct = _cancellationTokenSource.Token; using var dealer = new DealerSocket(); dealer.Options.DisableTimeWait = true; + dealer.Options.Identity = Guid.NewGuid().ToByteArray(); var address = await _peer.ResolveNetMQAddressAsync(); try {