routing+routerrpc+lncli: rename MaxHtlcs to MaxShards

This commit is contained in:
Joost Jager
2020-04-14 10:10:12 +02:00
parent a53a6f160e
commit 969eecc7d2
10 changed files with 147 additions and 147 deletions

View File

@@ -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(maxHtlcs uint32) ([]htlcAttempt,
func (c *integratedRoutingContext) testPayment(maxShards uint32) ([]htlcAttempt,
error) {
var (
@@ -137,7 +137,7 @@ func (c *integratedRoutingContext) testPayment(maxHtlcs uint32) ([]htlcAttempt,
DestFeatures: lnwire.NewFeatureVector(mppFeatures, nil),
Amount: c.amt,
CltvLimit: math.MaxUint32,
MaxHtlcs: maxHtlcs,
MaxShards: maxShards,
}
session := &paymentSession{