Skip to content

Commit

Permalink
log on subnets update
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Oct 22, 2024
1 parent 0378b22 commit cb675bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion network/discovery/dv5_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,11 @@ func (dvs *DiscV5Service) RegisterSubnets(logger *zap.Logger, subnets ...uint64)
}
if isUpdated {
dvs.subnets = updatedSubnets
logger.Debug("updated subnets", fields.UpdatedENRLocalNode(dvs.dv5Listener.LocalNode()))
logger.Debug("updated subnets",
fields.UpdatedENRLocalNode(dvs.dv5Listener.LocalNode()),
zap.Uint64s("input_subnets", subnets),
zap.String("updated_subnets", updatedSubnets.String()),
)
return true, nil
}
return false, nil
Expand Down

0 comments on commit cb675bc

Please sign in to comment.