From 851c070595553fff313f32059677cd2d4fead07d Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Thu, 13 Jun 2019 17:28:33 -0700 Subject: [PATCH] htlcswitch/link: fix Min/MaxFeeUpdateTimeout godocs --- htlcswitch/link.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/htlcswitch/link.go b/htlcswitch/link.go index 8a17ad33..15c65ec4 100644 --- a/htlcswitch/link.go +++ b/htlcswitch/link.go @@ -229,10 +229,14 @@ type ChannelLinkConfig struct { // receiving node is persistent. UnsafeReplay bool - // MinFeeUpdateTimeout and MaxFeeUpdateTimeout represent the timeout - // interval bounds in which a link will propose to update its commitment - // fee rate. A random timeout will be selected between these values. + // MinFeeUpdateTimeout represents the minimum interval in which a link + // will propose to update its commitment fee rate. A random timeout will + // be selected between this and MaxFeeUpdateTimeout. MinFeeUpdateTimeout time.Duration + + // MaxFeeUpdateTimeout represents the maximum interval in which a link + // will propose to update its commitment fee rate. A random timeout will + // be selected between this and MinFeeUpdateTimeout. MaxFeeUpdateTimeout time.Duration // OutgoingCltvRejectDelta defines the number of blocks before expiry of