lnwallet/channel: remove unused RemoteCommitHeight method

This commit is contained in:
Conner Fromknecht committed 2020-04-02 17:38:54 -07:00
1 parent 77df8e3a43
commit 422928b8a3
1 file changed
-8
-8
View File
@@ -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 {