lntest: update the block height of HarnessTest during start

This commit is contained in:
yyforyongyu
2024-11-07 21:22:27 +08:00
parent 2905e7b3df
commit 7dda2960a5

View File

@@ -193,6 +193,9 @@ func (h *HarnessTest) Start(chain node.BackendConfig,
// Assemble the miner.
h.miner = miner
// Update block height.
h.updateCurrentHeight()
}
// ChainBackendName returns the chain backend name used in the test.