From f6eb7a01bc3f331f90b0c3b751d6df590d23a6a1 Mon Sep 17 00:00:00 2001 From: Samuel Laferriere Date: Fri, 3 May 2024 10:01:31 -0700 Subject: [PATCH] clean operatorId output (prints as hex instead of byte array) (#230) --- 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: