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
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868

View File

@ -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.