From 7dda2960a5cf93477fc3962dddd12b68726d5747 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Thu, 7 Nov 2024 21:22:27 +0800 Subject: [PATCH] lntest: update the block height of HarnessTest during start --- lntest/harness.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lntest/harness.go b/lntest/harness.go index ea7c922ee..7b70457de 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -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.