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:
4 files changed
+58
-8
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user