mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-11 13:23:43 +02:00
routing+server: expose DefaultChannelPruneExpiry
This commit is contained in:
@@ -583,7 +583,7 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB, cc *chainControl,
|
||||
firstHop, htlcAdd, errorDecryptor,
|
||||
)
|
||||
},
|
||||
ChannelPruneExpiry: time.Duration(time.Hour * 24 * 14),
|
||||
ChannelPruneExpiry: routing.DefaultChannelPruneExpiry,
|
||||
GraphPruneInterval: time.Duration(time.Hour),
|
||||
QueryBandwidth: func(edge *channeldb.ChannelEdgeInfo) lnwire.MilliSatoshi {
|
||||
// If we aren't on either side of this edge, then we'll
|
||||
|
Reference in New Issue
Block a user