Skip to content

Commit 7dda296

Browse files
committed
lntest: update the block height of HarnessTest during start
1 parent 2905e7b commit 7dda296

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lntest/harness.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ func (h *HarnessTest) Start(chain node.BackendConfig,
193193

194194
// Assemble the miner.
195195
h.miner = miner
196+
197+
// Update block height.
198+
h.updateCurrentHeight()
196199
}
197200

198201
// ChainBackendName returns the chain backend name used in the test.

0 commit comments

Comments
 (0)