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
|
|
@ -12,7 +12,7 @@ import (
|
|||
"github.com/btcsuite/btcd/btcec/v2"
|
||||
"github.com/btcsuite/btcd/btcec/v2/schnorr"
|
||||
"github.com/btcsuite/btcd/btcutil"
|
||||
"github.com/lightninglabs/aperture/lsat"
|
||||
"github.com/lightninglabs/aperture/l402"
|
||||
"github.com/lightninglabs/lndclient"
|
||||
"github.com/lightninglabs/loop/loopdb"
|
||||
"github.com/lightninglabs/loop/swap"
|
||||
|
|
@ -57,7 +57,7 @@ var (
|
|||
// globalCallTimeout is the maximum time any call of the client to the
|
||||
// server is allowed to take, including the time it may take to get
|
||||
// and pay for an LSAT token.
|
||||
globalCallTimeout = serverRPCTimeout + lsat.PaymentTimeout
|
||||
globalCallTimeout = serverRPCTimeout + l402.PaymentTimeout
|
||||
|
||||
// probeTimeout is the maximum time until a probe is allowed to take.
|
||||
probeTimeout = 3 * time.Minute
|
||||
|
|
@ -138,7 +138,7 @@ func NewClient(dbDir string, loopDB loopdb.SwapStore,
|
|||
sweeperDb sweepbatcher.BatcherStore, cfg *ClientConfig) (
|
||||
*Client, func(), error) {
|
||||
|
||||
lsatStore, err := lsat.NewFileStore(dbDir)
|
||||
lsatStore, err := l402.NewFileStore(dbDir)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue