lnwallet: add basic tests for cooperative channel closure

This commit adds a basic test for cooperative channel closure. The
current test ensures correctness of the cooperative closure procedure
initiated by either the channel initiator, or the channel responder.
This commit is contained in:
Olaoluwa Osuntokun committed 2016-07-27 11:32:35 -07:00
1 parent e01dd7f18d
commit c0614c0478
4 files changed
+58 -8

No files matched your search

+1 -1
View File
@@ -173,7 +173,7 @@ out:
continue
}
hswcLog.Tracef("Sending %v to %x", amt, dest)
hswcLog.Tracef("Sending %v to %x", amt, dest[:])
// TODO(roasbeef): peer downstream should set chanPoint
wireMsg.ChannelPoint = link.chanPoint