mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
lntest: update the block height of HarnessTest during start
This commit is contained in:
parent
2905e7b3df
commit
7dda2960a5
@ -193,6 +193,9 @@ func (h *HarnessTest) Start(chain node.BackendConfig,
|
|||||||
|
|
||||||
// Assemble the miner.
|
// Assemble the miner.
|
||||||
h.miner = miner
|
h.miner = miner
|
||||||
|
|
||||||
|
// Update block height.
|
||||||
|
h.updateCurrentHeight()
|
||||||
}
|
}
|
||||||
|
|
||||||
// ChainBackendName returns the chain backend name used in the test.
|
// ChainBackendName returns the chain backend name used in the test.
|
||||||
|
Loading…
Reference in New Issue
Block a user