go.mod: downgrade deps for litd release

lnd v0.19.3-beta
tapd v0.6.1
go 1.23.12 (except in tools/ where golangci-lint needs Go 1.24)

Remove docs generators as cli-docs depends on Go 1.24.
This commit is contained in:
Boris Nagaev 2025-10-30 13:20:05 -03:00
parent 6c8bb7f8e2
commit 7d58b65a84
No known key found for this signature in database
15 changed files with 36 additions and 317 deletions

View file

@ -24,9 +24,9 @@ import (
"github.com/lightninglabs/taproot-assets/fn"
"github.com/lightninglabs/taproot-assets/rfqmsg"
"github.com/lightningnetwork/lnd/chainntnfs"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/lnrpc"
"github.com/lightningnetwork/lnd/lntypes"
paymentsdb "github.com/lightningnetwork/lnd/payments/db"
"github.com/lightningnetwork/lnd/tlv"
)
@ -841,17 +841,7 @@ func (s *loopOutSwap) payInvoiceAsync(ctx context.Context,
return nil, fmt.Errorf("rfq id has wrong length: %v", n)
}
// In order to still be compatible with the old wire format for
// asset HTLCs, we populate both fields.
//
// Older versions of tapd will ignore the new field and only use
// the old one.
//
// Newer versions will ignore the old field and only use the new
// field.
htlc := rfqmsg.NewHtlc(
nil, fn.Some(rfq), fn.Some([]rfqmsg.ID{rfq}),
)
htlc := rfqmsg.NewHtlc(nil, fn.Some(rfq))
htlcMapRecords, err := tlv.RecordsToMap(htlc.Records())
if err != nil {
return nil, err
@ -968,7 +958,7 @@ func (s *loopOutSwap) awaitSendPayment(ctx context.Context, hash lntypes.Hash,
// payment error from TrackPayment is no longer expected
// here.
case err := <-payErrChan:
if err != paymentsdb.ErrAlreadyPaid {
if err != channeldb.ErrAlreadyPaid {
return nil, err
}