lnwire: add update_fee message type.

This commit is contained in:
Johan T. Halseth
2017-07-14 20:28:40 +02:00
committed by Olaoluwa Osuntokun
parent 9c16319e0d
commit a3836d5241
3 changed files with 78 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ const (
MsgUpdateFailHTLC = 131
MsgCommitSig = 132
MsgRevokeAndAck = 133
MsgUpdateFee = 137
MsgChannelAnnouncement = 256
MsgNodeAnnouncement = 257
MsgChannelUpdate = 258
@@ -149,6 +150,8 @@ func makeEmptyMessage(msgType MessageType) (Message, error) {
msg = &CommitSig{}
case MsgRevokeAndAck:
msg = &RevokeAndAck{}
case MsgUpdateFee:
msg = &UpdateFee{}
case MsgError:
msg = &Error{}
case MsgChannelAnnouncement: