-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugUnintended code behaviourUnintended code behaviourcode healthRelated to code commenting, refactoring, and other non-behaviour improvementsRelated to code commenting, refactoring, and other non-behaviour improvementsgood first issueIssues suitable for first time contributors to LNDIssues suitable for first time contributors to LND
Description
We have the variable witness_type
in 2 places but they divereged: input/witnessgen.go and in walletrpc.proto
I want to bring them back to unity and was also thinking of using the same order(same enum value) in both, which makes it easier to compare. Or are types only appended in the protofiles and never rearrange because of backwards compatibility (which shouldn't be a problem IMO)
I found out about it when sweeping a TX:
lncli wallet pendingsweeps
showed me: UNKNOWN_WITNESS
But the log was also clear about it:
2023-02-26 16:39:32.956 [WRN] WLKT: Unhandled witness type HtlcOfferedTimeoutSecondLevelInputConfirmed for input e7a90e891c56b5a3fea4977a161aa1be77f4cee4977c6112ea410d3ac01a2761:4
Feel free to assign it to me, if we wanna fix this.
guggero
Metadata
Metadata
Assignees
Labels
bugUnintended code behaviourUnintended code behaviourcode healthRelated to code commenting, refactoring, and other non-behaviour improvementsRelated to code commenting, refactoring, and other non-behaviour improvementsgood first issueIssues suitable for first time contributors to LNDIssues suitable for first time contributors to LND