routing+routerrpc+lncli: rename MaxHtlcs to MaxShards

This commit is contained in:
Joost Jager committed 2020-04-14 10:31:59 +02:00
1 parent a53a6f160e
commit 969eecc7d2
10 files changed
+147 -147

No files matched your search

+1 -1
View File
@@ -211,7 +211,7 @@ func (p *paymentSession) RequestRoute(maxAmt, feeLimit lnwire.MilliSatoshi,
switch {
case err == errNoPathFound:
// No splitting if this is the last shard.
isLastShard := activeShards+1 >= p.payment.MaxHtlcs
isLastShard := activeShards+1 >= p.payment.MaxShards
if isLastShard {
return nil, errNoPathFound
}