itest+lntest: remove standby nodes

This commit removes the standby nodes Alice and Bob.
This commit is contained in:
yyforyongyu committed 2024-12-20 19:38:06 +08:00
1 parent 11c9dd5ff2
commit 00772ae281
3 files changed
+14 -198

No files matched your search

+4 -9
View File
@@ -40,10 +40,6 @@ type nodeManager struct {
// {pubkey: *HarnessNode}.
activeNodes map[uint32]*node.HarnessNode
// standbyNodes is a map of all the standby nodes, format:
// {pubkey: *HarnessNode}.
standbyNodes map[uint32]*node.HarnessNode
// nodeCounter is a monotonically increasing counter that's used as the
// node's unique ID.
nodeCounter atomic.Uint32
@@ -57,11 +53,10 @@ func newNodeManager(lndBinary string, dbBackend node.DatabaseBackend,
nativeSQL bool) *nodeManager {
return &nodeManager{
lndBinary: lndBinary,
dbBackend: dbBackend,
nativeSQL: nativeSQL,
activeNodes: make(map[uint32]*node.HarnessNode),
standbyNodes: make(map[uint32]*node.HarnessNode),
lndBinary: lndBinary,
dbBackend: dbBackend,
nativeSQL: nativeSQL,
activeNodes: make(map[uint32]*node.HarnessNode),
}
}