mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-13 07:37:22 +01:00
multi: make MarkCommitmentBroadcasted take closeTx
This commit is contained in:
@@ -891,7 +891,8 @@ func TestFetchWaitingCloseChannels(t *testing.T) {
|
||||
// This would happen in the event of a force close and should make the
|
||||
// channels enter a state of waiting close.
|
||||
for _, channel := range channels {
|
||||
if err := channel.MarkCommitmentBroadcasted(); err != nil {
|
||||
closeTx := &wire.MsgTx{}
|
||||
if err := channel.MarkCommitmentBroadcasted(closeTx); err != nil {
|
||||
t.Fatalf("unable to mark commitment broadcast: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user