lnwallet: change channelDispute to channelClosed so errors are handled
This commit is contained in:
1 parent
7d74165296
commit
4e6b1cda49
1 file changed
+1
-1
+1
-1
@@ -7595,7 +7595,7 @@ func (lc *LightningChannel) ForceClose() (*LocalForceCloseSummary, error) {
|
|||||||
|
|
||||||
// Set the channel state to indicate that the channel is now in a
|
// Set the channel state to indicate that the channel is now in a
|
||||||
// contested state.
|
// contested state.
|
||||||
lc.status = channelDispute
|
lc.status = channelClosed
|
||||||
|
|
||||||
return summary, nil
|
return summary, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user