Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions accounts/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import (
"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/chaincfg"
"github.com/lightninglabs/lndclient"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/fn"
invpkg "github.com/lightningnetwork/lnd/invoices"
"github.com/lightningnetwork/lnd/lnrpc"
"github.com/lightningnetwork/lnd/lntypes"
"github.com/lightningnetwork/lnd/lnwire"
paymentsdb "github.com/lightningnetwork/lnd/payments/db"
)

// Config holds the configuration options for the accounts service.
Expand Down Expand Up @@ -739,7 +739,7 @@ func (s *InterceptorService) TrackPayment(ctx context.Context, id AccountID,
// startup, to make sure we don't miss any
// payments.
if errors.Is(
err, channeldb.ErrPaymentNotInitiated,
err, paymentsdb.ErrPaymentNotInitiated,
) {

log.Debugf("Payment %v not initiated, "+
Expand Down
4 changes: 2 additions & 2 deletions accounts/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (
"time"

"github.com/lightninglabs/lndclient"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/clock"
invpkg "github.com/lightningnetwork/lnd/invoices"
"github.com/lightningnetwork/lnd/lnrpc"
"github.com/lightningnetwork/lnd/lnrpc/routerrpc"
"github.com/lightningnetwork/lnd/lntypes"
paymentsdb "github.com/lightningnetwork/lnd/payments/db"
"github.com/stretchr/testify/require"
)

Expand Down Expand Up @@ -585,7 +585,7 @@ func TestAccountService(t *testing.T) {
require.ErrorIs(t, err, ErrAccBalanceInsufficient)

// Now signal that the payment was non-initiated.
r.paymentErrChan <- channeldb.ErrPaymentNotInitiated
r.paymentErrChan <- paymentsdb.ErrPaymentNotInitiated

// Once the error is handled in the service.TrackPayment
// goroutine, and therefore free up the 2000 in-flight
Expand Down
164 changes: 134 additions & 30 deletions app/src/types/generated/lnd_pb.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading