From 61e0f67edf0f1ff98f54afaa3b3f7f84a2ac23f9 Mon Sep 17 00:00:00 2001 From: eugene Date: Mon, 16 Nov 2020 17:51:49 -0500 Subject: [PATCH] funding: rename from fmgr, change references --- {fmgr => funding}/interfaces.go | 2 +- peer/brontide.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename {fmgr => funding}/interfaces.go (97%) 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.