Skip to content

Commit e3a8589

Browse files
authored
Merge pull request #1155 from lightninglabs/tapd-main-branch
Merge tapd side-branch to `master`
2 parents 537931c + 2893353 commit e3a8589

25 files changed

+2657
-573
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
run:
22
# timeout for analysis
3-
timeout: 4m
3+
timeout: 10m
44

55
build-tags:
66
- autopilotrpc

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ GO_VERSION = 1.24.6
2828
# installed before running the integration tests which include backward
2929
# compatibility tests. The list of versions must be in sync with any version
3030
# used in the backwardCompat map in itest/litd_test_list_on_test.go.
31-
LITD_COMPAT_VERSIONS = v0.14.1-alpha
31+
LITD_COMPAT_VERSIONS = v0.14.1-alpha v0.15.0-alpha
3232

3333
LOOP_COMMIT := $(shell cat go.mod | \
3434
grep $(LOOP_PKG) | \

accounts/service.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import (
1010
"github.com/btcsuite/btcd/btcutil"
1111
"github.com/btcsuite/btcd/chaincfg"
1212
"github.com/lightninglabs/lndclient"
13-
"github.com/lightningnetwork/lnd/channeldb"
1413
"github.com/lightningnetwork/lnd/fn"
1514
invpkg "github.com/lightningnetwork/lnd/invoices"
1615
"github.com/lightningnetwork/lnd/lnrpc"
1716
"github.com/lightningnetwork/lnd/lntypes"
1817
"github.com/lightningnetwork/lnd/lnwire"
18+
paymentsdb "github.com/lightningnetwork/lnd/payments/db"
1919
)
2020

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

745745
log.Debugf("Payment %v not initiated, "+

accounts/service_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import (
77
"time"
88

99
"github.com/lightninglabs/lndclient"
10-
"github.com/lightningnetwork/lnd/channeldb"
1110
"github.com/lightningnetwork/lnd/clock"
1211
invpkg "github.com/lightningnetwork/lnd/invoices"
1312
"github.com/lightningnetwork/lnd/lnrpc"
1413
"github.com/lightningnetwork/lnd/lnrpc/routerrpc"
1514
"github.com/lightningnetwork/lnd/lntypes"
15+
paymentsdb "github.com/lightningnetwork/lnd/payments/db"
1616
"github.com/stretchr/testify/require"
1717
)
1818

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

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

590590
// Once the error is handled in the service.TrackPayment
591591
// goroutine, and therefore free up the 2000 in-flight

app/src/types/generated/lnd_pb.d.ts

Lines changed: 134 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)