Consolidate ban logging
@@ -195,7 +195,7 @@ namespace Miningcore.Blockchain.Equihash
await connection.RespondErrorAsync(StratumError.UnauthorizedWorker, "Authorization failed", request.Id, context.IsAuthorized);
// issue short-time ban if unauthorized to prevent DDos on daemon (validateaddress RPC)
- logger.Info(() => $"[{connection.ConnectionId}] Banning unauthorized worker for {loginFailureBanTimeout.TotalSeconds} sec");
+ logger.Info(() => $"[{connection.ConnectionId}] Banning unauthorized worker {minerName} for {loginFailureBanTimeout.TotalSeconds} sec");
banManager.Ban(connection.RemoteEndpoint.Address, loginFailureBanTimeout);
