lntest: update the block height of HarnessTest during start
This commit is contained in:
1 file changed
+3
@@ -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.
|
||||||
|
|||||||
Reference in new issue
Block a user