lnd: move fundingBroadcastHeight to fundingmanager_test.go
This commit is contained in:
1 parent
c7cbacc35b
commit
4ff03afee0
2 files changed
+3
-3
No files matched your search
@@ -55,6 +55,9 @@ const (
|
|||||||
// maxPending is the maximum number of channels we allow opening to the
|
// maxPending is the maximum number of channels we allow opening to the
|
||||||
// same peer in the max pending channels test.
|
// same peer in the max pending channels test.
|
||||||
maxPending = 4
|
maxPending = 4
|
||||||
|
|
||||||
|
// A dummy value to use for the funding broadcast height.
|
||||||
|
fundingBroadcastHeight = 123
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -9,9 +9,6 @@ import (
|
|||||||
"github.com/lightningnetwork/lnd/lntest/mock"
|
"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
|
// mockSpendNotifier extends the mock.ChainNotifier so that spend
|
||||||
// notifications can be triggered and delivered to subscribers.
|
// notifications can be triggered and delivered to subscribers.
|
||||||
type mockSpendNotifier struct {
|
type mockSpendNotifier struct {
|
||||||
|
|||||||
Reference in new issue
Block a user