From 4ff03afee014786574142baa635e95697db06e0c Mon Sep 17 00:00:00 2001 From: eugene Date: Tue, 18 Aug 2020 14:37:51 -0400 Subject: [PATCH] lnd: move fundingBroadcastHeight to fundingmanager_test.go --- fundingmanager_test.go | 3 +++ mock.go | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fundingmanager_test.go b/fundingmanager_test.go index 0d009021..59faf448 100644 --- a/fundingmanager_test.go +++ b/fundingmanager_test.go @@ -55,6 +55,9 @@ const ( // maxPending is the maximum number of channels we allow opening to the // same peer in the max pending channels test. maxPending = 4 + + // A dummy value to use for the funding broadcast height. + fundingBroadcastHeight = 123 ) var ( diff --git a/mock.go b/mock.go index dbc72b46..598b3d4a 100644 --- a/mock.go +++ b/mock.go @@ -9,9 +9,6 @@ import ( "github.com/lightningnetwork/lnd/lntest/mock" ) -// The block height returned by the mock BlockChainIO's GetBestBlock. -const fundingBroadcastHeight = 123 - // mockSpendNotifier extends the mock.ChainNotifier so that spend // notifications can be triggered and delivered to subscribers. type mockSpendNotifier struct {