Skip to content

Commit

Permalink
Missed cancellation token
Browse files Browse the repository at this point in the history
  • Loading branch information
asdacap committed Jun 21, 2023
1 parent eb2b788 commit e9375c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nethermind/Nethermind.Network/PeerManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ private async Task RunPeerUpdateLoop()
break;
}

await taskChannel.Writer.WriteAsync(peer);
await taskChannel.Writer.WriteAsync(peer, _cancellationTokenSource.Token);
}

if (_logger.IsTrace)
Expand Down

0 comments on commit e9375c4

Please sign in to comment.