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:
11 files changed
+169
-169
No files matched your search
@@ -84,7 +84,7 @@ func (s *Server) TrackPayment(request *TrackPaymentRequest,
|
||||
func (s *Server) SendPayment(request *SendPaymentRequest,
|
||||
stream Router_SendPaymentServer) error {
|
||||
|
||||
if request.MaxShards > 1 {
|
||||
if request.MaxParts > 1 {
|
||||
return errors.New("for multi-part payments, use SendPaymentV2")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user