mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
invoices: create package
This commit isolates the invoice registry in a separate package. It is a preparation for the creation of an invoices sub server.
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||
"github.com/lightningnetwork/lnd/channeldb"
|
||||
"github.com/lightningnetwork/lnd/contractcourt"
|
||||
"github.com/lightningnetwork/lnd/invoices"
|
||||
"github.com/lightningnetwork/lnd/lnwallet"
|
||||
)
|
||||
|
||||
@@ -23,7 +24,7 @@ type preimageSubscriber struct {
|
||||
type preimageBeacon struct {
|
||||
sync.RWMutex
|
||||
|
||||
invoices *invoiceRegistry
|
||||
invoices *invoices.InvoiceRegistry
|
||||
|
||||
wCache *channeldb.WitnessCache
|
||||
|
||||
|
Reference in New Issue
Block a user