chancloser: remove ProcessCloseMsg
This commit is contained in:
1 parent
704eb84bcb
commit
6955dc9f12
1 file changed
-14
@@ -879,20 +879,6 @@ func (c *ChanCloser) ReceiveClosingSigned(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ProcessCloseMsg attempts to process the next message in the closing series.
|
|
||||||
// This method will update the state accordingly and return two primary values:
|
|
||||||
// the next set of messages to be sent, and a bool indicating if the fee
|
|
||||||
// negotiation process has completed. If the second value is true, then this
|
|
||||||
// means the ChanCloser can be garbage collected.
|
|
||||||
func (c *ChanCloser) ProcessCloseMsg(msg lnwire.Message) ([]lnwire.Message,
|
|
||||||
bool, error) {
|
|
||||||
|
|
||||||
switch c.state {
|
|
||||||
default:
|
|
||||||
return nil, false, ErrInvalidState
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// proposeCloseSigned attempts to propose a new signature for the closing
|
// proposeCloseSigned attempts to propose a new signature for the closing
|
||||||
// transaction for a channel based on the prior fee negotiations and our current
|
// transaction for a channel based on the prior fee negotiations and our current
|
||||||
// compromise fee.
|
// compromise fee.
|
||||||
|
|||||||
Reference in new issue
Block a user