mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
3b253e05f6
This commit restructures an invoice's ContractTerms to better encompass the restrictions placed on settling. For instance, the final ctlv delta and invoice expiry are moved from the main invoice body (where additional metadata is stored). Additionally, it moves the State field outside of the terms since it is rather metadata about the invoice instead of any terms offered to the sender in the payment request. |
||
---|---|---|
.. | ||
interface.go | ||
invoiceregistry_test.go | ||
invoiceregistry.go | ||
log.go | ||
utils_test.go |