mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-10 15:53:04 +02:00
routing+routerrpc: rename max_shards to max_parts
Don't introduce a new term and align with the P in MPP.
This commit is contained in:
@@ -88,7 +88,7 @@ func (h htlcAttempt) String() string {
|
||||
|
||||
// testPayment launches a test payment and asserts that it is completed after
|
||||
// the expected number of attempts.
|
||||
func (c *integratedRoutingContext) testPayment(maxShards uint32) ([]htlcAttempt,
|
||||
func (c *integratedRoutingContext) testPayment(maxParts uint32) ([]htlcAttempt,
|
||||
error) {
|
||||
|
||||
var (
|
||||
@@ -137,7 +137,7 @@ func (c *integratedRoutingContext) testPayment(maxShards uint32) ([]htlcAttempt,
|
||||
DestFeatures: lnwire.NewFeatureVector(mppFeatures, nil),
|
||||
Amount: c.amt,
|
||||
CltvLimit: math.MaxUint32,
|
||||
MaxShards: maxShards,
|
||||
MaxParts: maxParts,
|
||||
}
|
||||
|
||||
session, err := newPaymentSession(
|
||||
|
Reference in New Issue
Block a user