mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
lnwallet/channel: remove unused RemoteCommitHeight method
This commit is contained in:
parent
77df8e3a43
commit
422928b8a3
1 changed files with 0 additions and 8 deletions
|
@ -6667,14 +6667,6 @@ func (lc *LightningChannel) NextLocalHtlcIndex() (uint64, error) {
|
||||||
return lc.channelState.NextLocalHtlcIndex()
|
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.
|
// FwdMinHtlc returns the minimum HTLC value required by the remote node, i.e.
|
||||||
// the minimum value HTLC we can forward on this channel.
|
// the minimum value HTLC we can forward on this channel.
|
||||||
func (lc *LightningChannel) FwdMinHtlc() lnwire.MilliSatoshi {
|
func (lc *LightningChannel) FwdMinHtlc() lnwire.MilliSatoshi {
|
||||||
|
|
Loading…
Add table
Reference in a new issue