lnwallet/channel: add FwdMinHtlc(), returning MinHTLC from localChanCfg
This commit is contained in:
parent
7eee09c454
commit
f4f7b64b2d
@ -6254,3 +6254,9 @@ func (lc *LightningChannel) RemoteCommitHeight() uint64 {
|
|||||||
|
|
||||||
return lc.channelState.RemoteCommitment.CommitHeight
|
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 {
|
||||||
|
return lc.localChanCfg.MinHTLC
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user