From 06e8d1c5ca9add8a6b4cc2f95f4344647f2a1148 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 4 Dec 2019 14:34:18 -0800 Subject: [PATCH] htlcswitch: fix inconsistency between attribute name and godoc comment --- htlcswitch/link.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htlcswitch/link.go b/htlcswitch/link.go index 83a9c70e..4a68172b 100644 --- a/htlcswitch/link.go +++ b/htlcswitch/link.go @@ -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