lnrpc: rename non_succeeded to include_incomplete
This commit is contained in:
4 files changed
+507
-500
No files matched your search
+1
-1
@@ -4145,7 +4145,7 @@ func (r *rpcServer) ListPayments(ctx context.Context,
|
||||
// To keep compatibility with the old API, we only return
|
||||
// non-suceeded payments if requested.
|
||||
if payment.Status != channeldb.StatusSucceeded &&
|
||||
!req.NonSucceeded {
|
||||
!req.IncludeIncomplete {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user