From dcca6c23da61657e2ed66120023bd6f754118237 Mon Sep 17 00:00:00 2001 From: hopeyen Date: Tue, 12 Nov 2024 12:54:17 -0800 Subject: [PATCH] refactor: log --- node/node.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/node.go b/node/node.go index e19bae762e..66c312227a 100644 --- a/node/node.go +++ b/node/node.go @@ -225,10 +225,10 @@ func (n *Node) Start(ctx context.Context) error { registeredSocket, err := n.Transactor.GetOperatorSocket(ctx, n.Config.ID) // Error out if registration on-chain is a requirement if err != nil { - n.Logger.Warn("failed to get operator socket: %w", err) + n.Logger.Warnf("failed to get operator socket: %w", err) } if registeredSocket != socket { - n.Logger.Warn("registered socket %s does not match expected socket %s", registeredSocket, socket) + n.Logger.Warnf("registered socket %s does not match expected socket %s", registeredSocket, socket) } eigenDAUrl, ok := eigenDAUIMap[n.ChainID.String()]