Skip to content

Conversation

@starius
Copy link
Contributor

@starius starius commented May 11, 2025

If a TokenID is passed by value to logging functions (such as the Printf family) the pointer-based String() method is not used. As a result, the token is logged as an array when using %v and as binary when using %s, which is inconvenient.

If a TokenID is passed by value to logging functions (such as the Printf family)
the pointer-based String() method is not used. As a result, the token is logged
as an array when using %v and as binary when using %s, which is inconvenient.
@starius starius marked this pull request as ready for review May 11, 2025 02:53
@guggero guggero merged commit 62c9cc7 into lightninglabs:master May 12, 2025
5 checks passed
@starius starius deleted the l402-stringer branch May 13, 2025 00:23
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.

3 participants