Skip to content

Commit

Permalink
refactor: hex encoding on log
Browse files Browse the repository at this point in the history
  • Loading branch information
taturosati committed Aug 1, 2024
1 parent 7899c48 commit e2dfa0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggregator/internal/pkg/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (agg *Aggregator) ProcessOperatorSignedTaskResponse(signedTaskResponse *typ

if _, ok := batchResponses[signedTaskResponse.OperatorId]; ok {
*reply = 0
agg.logger.Warn("Operator already responded, ignoring", "operatorId", signedTaskResponse.OperatorId, "taskIndex", taskIndex, "batchMerkleRoot", signedTaskResponse.BatchMerkleRoot)
agg.logger.Warn("Operator already responded, ignoring", "operatorId", signedTaskResponse.OperatorId, "taskIndex", taskIndex, "batchMerkleRoot", hex.EncodeToString(signedTaskResponse.BatchMerkleRoot[:]))
agg.taskMutex.Unlock()
return nil
}
Expand Down

0 comments on commit e2dfa0d

Please sign in to comment.