diff --git a/fmgr/interfaces.go b/funding/interfaces.go similarity index 97% rename from fmgr/interfaces.go rename to funding/interfaces.go index 19fe8630..87f3b0a3 100644 --- a/fmgr/interfaces.go +++ b/funding/interfaces.go @@ -1,4 +1,4 @@ -package fmgr +package funding import ( "github.com/lightningnetwork/lnd/lnpeer" diff --git a/peer/brontide.go b/peer/brontide.go index 49c3d8e4..da96bfa5 100644 --- a/peer/brontide.go +++ b/peer/brontide.go @@ -24,7 +24,7 @@ import ( "github.com/lightningnetwork/lnd/contractcourt" "github.com/lightningnetwork/lnd/discovery" "github.com/lightningnetwork/lnd/feature" - "github.com/lightningnetwork/lnd/fmgr" + "github.com/lightningnetwork/lnd/funding" "github.com/lightningnetwork/lnd/htlcswitch" "github.com/lightningnetwork/lnd/htlcswitch/hodl" "github.com/lightningnetwork/lnd/htlcswitch/hop" @@ -273,8 +273,8 @@ type Config struct { FetchLastChanUpdate func(lnwire.ShortChannelID) (*lnwire.ChannelUpdate, error) - // FundingManager is an implementation of the fmgr.Manager interface. - FundingManager fmgr.Manager + // FundingManager is an implementation of the funding.Manager interface. + FundingManager funding.Manager // Hodl is used when creating ChannelLinks to specify HodlFlags as // breakpoints in dev builds.