htlcswitch: fix inconsistency between attribute name and godoc comment

This commit is contained in:
Olaoluwa Osuntokun committed 2019-12-04 15:10:39 -08:00
1 parent 1371e5affc
commit 06e8d1c5ca
1 file changed
+3 -3
+3 -3
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