lnrpc: rename non_succeeded to include_incomplete

This commit is contained in:
Olaoluwa Osuntokun committed 2019-06-13 16:01:10 -07:00
1 parent 41b7da9bd1
commit d333b2d981
4 files changed
+507 -500

No files matched your search

+1 -1
View File
@@ -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
}