Skip to content

TrackPayment got error for payment, Found nil circuit #9786

Closed Answered by hieblmi
microlancer asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for reporting. The TrackPayment got error for payment seems to be a faulty logline that was fixed in the latest version:
old:

// trackPayment writes payment status updates to the provided stream.
func (s *Server) trackPayment(subscription routing.ControlTowerSubscriber,
	identifier lntypes.Hash, stream Router_TrackPaymentV2Server,
	noInflightUpdates bool) error {

	err := s.trackPaymentStream(
		stream.Context(), subscription, noInflightUpdates, stream.Send,
	)

	// If the context is canceled, we don't return an error.
	if errors.Is(err, context.Canceled) {
		log.Infof("Payment stream %v canceled", identifier)

		return nil
	}

	// Otherwise, we will log and return the error as the…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by microlancer
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants