htlcswitch: fix inconsistency between attribute name and godoc comment

This commit is contained in:
Olaoluwa Osuntokun
2019-12-04 14:34:18 -08:00
parent 1371e5affc
commit 06e8d1c5ca

View File

@@ -257,9 +257,9 @@ type ChannelLinkConfig struct {
// configured set of watchtowers.
TowerClient TowerClient
// MaxCltvExpiry is the maximum outgoing timelock that the link should
// accept for a forwarded HTLC. The value is relative to the current
// block height.
// MaxOutgoingCltvExpiry is the maximum outgoing timelock that the link
// should accept for a forwarded HTLC. The value is relative to the
// current block height.
MaxOutgoingCltvExpiry uint32
// MaxFeeAllocation is the highest allocation we'll allow a channel's