routing+routerrpc+lncli: rename MaxHtlcs to MaxShards
This commit is contained in:
10 files changed
+147
-147
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user