-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add encoding/decoding tests for UnifiedQrPayment
Introduces an integration test for UnifiedQrPayment. The test uses dumby/mock values but verifies that receive correctly generates a URI containing the bitcoin address and lightning invoice. Parsing the URI is also tested, printing the same address/invoice generated in receive. Note - "bitcoin" in the URI is all caps ex: BITCOIN:BC1QY... - I believe it should be a lowercase "bitcoin" - The lightning invoice would ideally be in all caps as well - ex: lighting=LNBC1....
- Loading branch information
Showing
1 changed file
with
72 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters