From fedfc01ec3ef17eab5fb2c7896615d6f5b0eece9 Mon Sep 17 00:00:00 2001 From: Samuel Laferriere Date: Thu, 2 May 2024 23:15:16 -0700 Subject: [PATCH] clean operatorId output (prints as hex instead of byte array) --- services/operatorsinfo/operatorsinfo_inmemory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/operatorsinfo/operatorsinfo_inmemory.go b/services/operatorsinfo/operatorsinfo_inmemory.go index 0a9f2f0c..d831b832 100644 --- a/services/operatorsinfo/operatorsinfo_inmemory.go +++ b/services/operatorsinfo/operatorsinfo_inmemory.go @@ -134,7 +134,7 @@ func (ops *OperatorsInfoServiceInMemory) startServiceInGoroutine(ctx context.Con "G1pubkey", ops.pubkeyDict[operatorAddr].G1Pubkey, "G2pubkey", ops.pubkeyDict[operatorAddr].G2Pubkey, ) case newSocketRegistrationEvent := <-newSocketRegistrationC: - ops.logger.Debug("Received new socket registration event", "service", "OperatorPubkeysServiceInMemory", "operatorId", newSocketRegistrationEvent.OperatorId, "socket", newSocketRegistrationEvent.Socket) + ops.logger.Debug("Received new socket registration event", "service", "OperatorPubkeysServiceInMemory", "operatorId", types.OperatorId(newSocketRegistrationEvent.OperatorId), "socket", newSocketRegistrationEvent.Socket) ops.updateSocketMapping(newSocketRegistrationEvent.OperatorId, types.Socket(newSocketRegistrationEvent.Socket)) // Receive a query from GetOperatorPubkeys case query := <-queryC: