lntemp+itest: refactor node restart process

This commit refactors how the node restart is done. It removes the usage
of `HasSeed` and replaces it with `SkipUnlock` for clarity.
This commit is contained in:
yyforyongyu committed 2023-01-17 07:26:56 +08:00
1 parent 368635ef95
commit ad77a45112
5 files changed
+80 -67

No files matched your search

+3 -2
View File
@@ -349,8 +349,9 @@ func testChannelBackupRestoreBasic(ht *lntemp.HarnessTest) {
"", revocationWindow, nil,
copyPorts(oldNode),
)
st.RestartNode(newNode, backupSnapshot)
st.RestartNodeWithChanBackups(
newNode, backupSnapshot,
)
return newNode
}