lnwallet/channel: remove unused RemoteCommitHeight method
This commit is contained in:
parent
77df8e3a43
commit
422928b8a3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user