3b5c2f44c6
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. |
||
---|---|---|
.. | ||
invoiceregistry_test.go | ||
invoiceregistry.go | ||
log.go |