Skip to content

logs: Correct a sign mismatch printing the depth change#7910

Merged
rustyrussell merged 1 commit intoElementsProject:masterfrom
cdecker:20241205T170944
Dec 6, 2024
Merged

logs: Correct a sign mismatch printing the depth change#7910
rustyrussell merged 1 commit intoElementsProject:masterfrom
cdecker:20241205T170944

Conversation

@cdecker
Copy link
Member

@cdecker cdecker commented Dec 5, 2024

We are checking if txw->depth is -1 and then print it, when we clearly want depth instead.

Changelog-Fixed logs: When printing depths some unsigned numbers could overflow

We are checking if `txw->depth` is `-1` and then print it, when we
clearly want `depth` instead.

Changelog-Fixed logs: When printing depths some unsigned numbers could overflow
@cdecker cdecker changed the title logs: Correct an sign mismatch printing the depth change logs: Correct a sign mismatch printing the depth change Dec 5, 2024
@rustyrussell rustyrussell merged commit 1adbd70 into ElementsProject:master Dec 6, 2024
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