lnwallet/channel: remove unused RemoteCommitHeight method

This commit is contained in:
Conner Fromknecht 2020-04-02 17:38:54 -07:00
parent 77df8e3a43
commit 422928b8a3
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -6667,14 +6667,6 @@ func (lc *LightningChannel) NextLocalHtlcIndex() (uint64, error) {
return lc.channelState.NextLocalHtlcIndex()
}
// RemoteCommitHeight returns the commitment height of the remote chain.
func (lc *LightningChannel) RemoteCommitHeight() uint64 {
lc.RLock()
defer lc.RUnlock()
return lc.channelState.RemoteCommitment.CommitHeight
}
// FwdMinHtlc returns the minimum HTLC value required by the remote node, i.e.
// the minimum value HTLC we can forward on this channel.
func (lc *LightningChannel) FwdMinHtlc() lnwire.MilliSatoshi {