multi: move 3 vars from walletrpc+lncfg to chanfunding
This commit moves the constants LndInternalLockID and DefaultLockDuration from the walletrpc package to the chanfunding package, moves DefaultReservationTimeout from lncfg to chanfunding, and also updates the lncli package with the new location.
This commit is contained in:
8 files changed
+42
-31
No files matched your search
@@ -53,6 +53,7 @@ import (
|
||||
"github.com/lightningnetwork/lnd/lnrpc/routerrpc"
|
||||
"github.com/lightningnetwork/lnd/lnwallet"
|
||||
"github.com/lightningnetwork/lnd/lnwallet/chainfee"
|
||||
"github.com/lightningnetwork/lnd/lnwallet/chanfunding"
|
||||
"github.com/lightningnetwork/lnd/lnwallet/rpcwallet"
|
||||
"github.com/lightningnetwork/lnd/lnwire"
|
||||
"github.com/lightningnetwork/lnd/nat"
|
||||
@@ -1276,7 +1277,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
|
||||
// For the reservationTimeout and the zombieSweeperInterval different
|
||||
// values are set in case we are in a dev environment so enhance test
|
||||
// capacilities.
|
||||
reservationTimeout := lncfg.DefaultReservationTimeout
|
||||
reservationTimeout := chanfunding.DefaultReservationTimeout
|
||||
zombieSweeperInterval := lncfg.DefaultZombieSweeperInterval
|
||||
|
||||
// Get the development config for funding manager. If we are not in
|
||||
|
||||
Reference in new issue
Block a user