Skip to content

Conversation

@gijswijs
Copy link
Contributor

@gijswijs gijswijs commented Oct 10, 2025

With this PR HexN now checks if the provided byte slice is nil. If
it is, it returns a slog attribute with the string "". This makes
it easier to search for nil slices in the logs.

With this commit HexN now checks if the provided byte slice is nil. If
it is, it returns a slog attribute with the string "<nil>". This makes
it easier to search for nil slices in the logs.
@gijswijs
Copy link
Contributor Author

Copy link
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎋

@Roasbeef Roasbeef merged commit 45b2a33 into btcsuite:master Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants