mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
update aperture to include lsat to l402 renaming
Fix the build: go mod tidy sed 's@\<lsat\>@l402@g' -i `git grep -l -w aperture/lsat` make rpc
This commit is contained in:
parent
b99cde172a
commit
bfc3f44aa1
10 changed files with 40 additions and 38 deletions
|
|
@ -10,7 +10,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/btcsuite/btcd/btcutil"
|
||||
"github.com/lightninglabs/aperture/lsat"
|
||||
"github.com/lightninglabs/aperture/l402"
|
||||
"github.com/lightninglabs/loop/loopdb"
|
||||
"github.com/lightningnetwork/lnd/cert"
|
||||
"github.com/lightningnetwork/lnd/lncfg"
|
||||
|
|
@ -206,8 +206,8 @@ func DefaultConfig() Config {
|
|||
TLSKeyPath: DefaultTLSKeyPath,
|
||||
TLSValidity: DefaultAutogenValidity,
|
||||
MacaroonPath: DefaultMacaroonPath,
|
||||
MaxLSATCost: lsat.DefaultMaxCostSats,
|
||||
MaxLSATFee: lsat.DefaultMaxRoutingFeeSats,
|
||||
MaxLSATCost: l402.DefaultMaxCostSats,
|
||||
MaxLSATFee: l402.DefaultMaxRoutingFeeSats,
|
||||
LoopOutMaxParts: defaultLoopOutMaxParts,
|
||||
TotalPaymentTimeout: defaultTotalPaymentTimeout,
|
||||
MaxPaymentRetries: defaultMaxPaymentRetries,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ package loopd
|
|||
|
||||
import (
|
||||
"github.com/btcsuite/btclog"
|
||||
"github.com/lightninglabs/aperture/lsat"
|
||||
"github.com/lightninglabs/aperture/l402"
|
||||
"github.com/lightninglabs/lndclient"
|
||||
"github.com/lightninglabs/loop"
|
||||
"github.com/lightninglabs/loop/fsm"
|
||||
|
|
@ -37,7 +37,7 @@ func SetupLoggers(root *build.RotatingLogWriter, intercept signal.Interceptor) {
|
|||
lnd.AddSubLogger(root, "SWEEP", intercept, sweepbatcher.UseLogger)
|
||||
lnd.AddSubLogger(root, "LNDC", intercept, lndclient.UseLogger)
|
||||
lnd.AddSubLogger(root, "STORE", intercept, loopdb.UseLogger)
|
||||
lnd.AddSubLogger(root, lsat.Subsystem, intercept, lsat.UseLogger)
|
||||
lnd.AddSubLogger(root, l402.Subsystem, intercept, l402.UseLogger)
|
||||
lnd.AddSubLogger(
|
||||
root, liquidity.Subsystem, intercept, liquidity.UseLogger,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import (
|
|||
"github.com/btcsuite/btcd/btcec/v2"
|
||||
"github.com/btcsuite/btcd/btcutil"
|
||||
"github.com/btcsuite/btcd/chaincfg"
|
||||
"github.com/lightninglabs/aperture/lsat"
|
||||
"github.com/lightninglabs/aperture/l402"
|
||||
"github.com/lightninglabs/lndclient"
|
||||
"github.com/lightninglabs/loop"
|
||||
"github.com/lightninglabs/loop/instantout"
|
||||
|
|
@ -939,7 +939,7 @@ func (s *swapClientServer) GetLsatTokens(ctx context.Context,
|
|||
return nil, err
|
||||
}
|
||||
|
||||
id, err := lsat.DecodeIdentifier(
|
||||
id, err := l402.DecodeIdentifier(
|
||||
bytes.NewReader(token.BaseMacaroon().Id()),
|
||||
)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue