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:
Joost Jager committed 2020-04-22 14:49:19 +02:00
1 parent 8d7e07d96b
commit f6b2410011
11 files changed
+169 -169

No files matched your search

+1 -1
View File
@@ -3966,7 +3966,7 @@ func (r *rpcServer) dispatchPaymentIntent(
// Don't enable multi-part payments on the main rpc.
// Users need to use routerrpc for that.
MaxShards: 1,
MaxParts: 1,
}
preImage, route, routerErr = r.server.chanRouter.SendPayment(