-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
invoices/invoiceregistry: generate random payaddr for keysend
This commit automatically generates a random payment address for any new keysend payments. With the addition of the payment address index, we now enforce uniqueness of payment addresses across all invoices. As a result, if you run master currently you can only accept one keysend payment since they all share a zero-value payment address.
- Loading branch information
1 parent
9f32942
commit 7d1c528
Showing
2 changed files
with
59 additions
and
17 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