routing+server: expose DefaultChannelPruneExpiry

This commit is contained in:
Wilmer Paulino
2019-03-27 13:07:13 -07:00
parent c82d73a826
commit 174645fcba
2 changed files with 5 additions and 1 deletions

View File

@@ -33,6 +33,10 @@ const (
// if we should give up on a payment attempt. This will be used if a
// value isn't specified in the LightningNode struct.
defaultPayAttemptTimeout = time.Duration(time.Second * 60)
// DefaultChannelPruneExpiry is the default duration used to determine
// if a channel should be pruned or not.
DefaultChannelPruneExpiry = time.Duration(time.Hour * 24 * 14)
)
var (