mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 17:51:33 +02:00
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:
@@ -4,6 +4,8 @@ package lncfg
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/lightningnetwork/lnd/lnwallet/chanfunding"
|
||||
)
|
||||
|
||||
// IsDevBuild returns a bool to indicate whether we are in a development
|
||||
@@ -37,7 +39,7 @@ func (d *DevConfig) GetUnsafeDisconnect() bool {
|
||||
|
||||
// GetReservationTimeout returns the config value for `ReservationTimeout`.
|
||||
func (d *DevConfig) GetReservationTimeout() time.Duration {
|
||||
return DefaultReservationTimeout
|
||||
return chanfunding.DefaultReservationTimeout
|
||||
}
|
||||
|
||||
// GetZombieSweeperInterval returns the config value for`ZombieSweeperInterval`.
|
||||
|
Reference in New Issue
Block a user