Add trace logging to UpdateAffectedPeers function for debugging purposes

This commit is contained in:
mlsmaycon
2026-06-23 13:56:19 +02:00
parent 49c8d571b2
commit 58cd0eae4e

View File

@@ -249,6 +249,7 @@ func (c *Controller) UpdateAccountPeers(ctx context.Context, accountID string, r
// UpdateAffectedPeers updates only the specified peers that belong to an account.
func (c *Controller) UpdateAffectedPeers(ctx context.Context, accountID string, peerIDs []string) error {
log.WithContext(ctx).Tracef("UpdateAccountPeers: account %s, %d affected peers (caller: %s)", accountID, len(peerIDs), util.GetCallerName())
if len(peerIDs) == 0 {
return nil
}