lnd.xprv/invoices
Joost Jager 3b5c2f44c6
invoices: extract invoice decoding from registry
Previously it was difficult to use the invoice registry in unit tests,
because it used zpay32 to decode the invoice. For that to succeed, a
valid signature is required on the payment request.

This commit injects the decode dependency on a different level so that
it is easier to mock.
2019-03-15 10:09:06 +01:00
..
invoiceregistry_test.go invoices: extract invoice decoding from registry 2019-03-15 10:09:06 +01:00
invoiceregistry.go invoices: extract invoice decoding from registry 2019-03-15 10:09:06 +01:00
log.go invoices: create package 2019-01-07 23:04:05 +01:00