mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-23 15:34:22 +01:00
lnd: move fundingBroadcastHeight to fundingmanager_test.go
This commit is contained in:
@@ -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 (
|
||||
|
||||
3
mock.go
3
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 {
|
||||
|
||||
Reference in New Issue
Block a user