lnwire: remove obsolete dual funder messages

This commit is contained in:
Olaoluwa Osuntokun committed 2016-07-25 16:02:00 -07:00
1 parent 82ea6ebf78
commit bdc22e67fa
9 files changed
-804

No files matched your search

-14
View File
@@ -22,12 +22,6 @@ const MaxMessagePayload = 1024 * 1024 * 32 // 32MB
// Commands used in lightning message headers which detail the type of message.
const (
// Commands for opening a channel funded by both parties (dual funder).
CmdFundingRequest = uint32(200)
CmdFundingResponse = uint32(210)
CmdFundingSignAccept = uint32(220)
CmdFundingSignComplete = uint32(230)
// Commands for opening a channel funded by one party (single funder).
CmdSingleFundingRequest = uint32(100)
CmdSingleFundingResponse = uint32(110)
@@ -72,14 +66,6 @@ func makeEmptyMessage(command uint32) (Message, error) {
var msg Message
switch command {
case CmdFundingRequest:
msg = &FundingRequest{}
case CmdFundingResponse:
msg = &FundingResponse{}
case CmdFundingSignAccept:
msg = &FundingSignAccept{}
case CmdFundingSignComplete:
msg = &FundingSignComplete{}
case CmdSingleFundingRequest:
msg = &SingleFundingRequest{}
case CmdSingleFundingResponse: