Skip to content

Conversation

@yuntai
Copy link
Contributor

@yuntai yuntai commented Oct 25, 2018

to indicate failure reason after a PaymentReceived event.

and set onion error code to unknown_payment_hash or incorrect_payment_amount.

The test will come with the sequel of #219.

to indicate fail reason after a PaymentReceived event
@yuntai yuntai force-pushed the 2018-10-paymentfail branch from 34a9dff to f133554 Compare October 25, 2018 12:25
@TheBlueMatt
Copy link
Collaborator

Looks good. Can you also add documentation to the PaymentReceived event that describes that users have to fail payments that have a value out of bounds?

@yuntai
Copy link
Contributor Author

yuntai commented Oct 25, 2018

Documentation added.

@TheBlueMatt
Copy link
Collaborator

Will take as #224.

TheBlueMatt added a commit that referenced this pull request Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants