-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
register distinction between address and script for SPK type payment …
…identifiers and allow zero amount for script destinations. This is mainly to support OP_RETURN outputs, which typically have a zero amount output value, but as we don't special case OP_RETURN, this is currently done for all non-address scripts Also, it's probably good to add a warning popup for OP_RETURN outputs with a non-zero output value, but this would also need special casing for OP_RETURN. Saving of script output payment identifiers is disabled for now, as reading the script from the stored invoice back into human-readable form is currently not implemented, and currently only lightning invoices or address output is supported.
- Loading branch information
1 parent
0d96bc1
commit 307cf25
Showing
2 changed files
with
42 additions
and
25 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
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