lnwire: correct incorrect type numbers for UpdateFee, Shutdown, and ClosingSigned
In this commit we correct an off by one error on the Shutdown and ClosingSigned message types. Additionally, we fix an error related to the numbering of the UpdateFee message. With this we, gain proper compatibility with the other implementations when it comes to commitment hygiene, and also the cooperative closure process.
This commit is contained in:
parent
b98e993d76
commit
5b7abee92e
@ -32,16 +32,16 @@ const (
|
|||||||
MsgFundingCreated = 34
|
MsgFundingCreated = 34
|
||||||
MsgFundingSigned = 35
|
MsgFundingSigned = 35
|
||||||
MsgFundingLocked = 36
|
MsgFundingLocked = 36
|
||||||
MsgShutdown = 39
|
MsgShutdown = 38
|
||||||
MsgClosingSigned = 40
|
MsgClosingSigned = 39
|
||||||
MsgUpdateAddHTLC = 128
|
MsgUpdateAddHTLC = 128
|
||||||
MsgUpdateFufillHTLC = 130
|
MsgUpdateFufillHTLC = 130
|
||||||
MsgUpdateFailHTLC = 131
|
MsgUpdateFailHTLC = 131
|
||||||
MsgCommitSig = 132
|
MsgCommitSig = 132
|
||||||
MsgRevokeAndAck = 133
|
MsgRevokeAndAck = 133
|
||||||
|
MsgUpdateFee = 134
|
||||||
MsgUpdateFailMalformedHTLC = 135
|
MsgUpdateFailMalformedHTLC = 135
|
||||||
MsgChannelReestablish = 136
|
MsgChannelReestablish = 136
|
||||||
MsgUpdateFee = 137
|
|
||||||
MsgChannelAnnouncement = 256
|
MsgChannelAnnouncement = 256
|
||||||
MsgNodeAnnouncement = 257
|
MsgNodeAnnouncement = 257
|
||||||
MsgChannelUpdate = 258
|
MsgChannelUpdate = 258
|
||||||
|
Loading…
Reference in New Issue
Block a user