Skip to content

Commit

Permalink
feat: use random guid as identity
Browse files Browse the repository at this point in the history
  • Loading branch information
limebell committed Dec 27, 2024
1 parent 9f747b2 commit cb5da2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Libplanet.Net/Transports/NetMQChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit cb5da2d

Please sign in to comment.