Cooperative Close

This commit is contained in:
Joseph Poon authored and Olaoluwa Osuntokun committed 2016-01-14 23:56:09 -08:00
1 parent bf8e0d727d
commit 8cc057bbd4
6 files changed
+245 -1

No files matched your search

+4
View File
@@ -49,6 +49,10 @@ func makeEmptyMessage(command uint32) (Message, error) {
msg = &FundingSignAccept{}
case CmdFundingSignComplete:
msg = &FundingSignComplete{}
case CmdCloseRequest:
msg = &CloseRequest{}
case CmdCloseComplete:
msg = &CloseComplete{}
default:
return nil, fmt.Errorf("unhandled command [%d]", command)
}