fix empty hop nodes

This commit is contained in:
ginuerzh committed 2025-08-10 18:36:43 +08:00
1 parent a5f66b0615
commit 0e5c285eb7
2 files changed
+1 -1

No files matched your search

+1
View File
@@ -106,6 +106,7 @@ func NewHop(opts ...Option) hop.Hop {
ctx, cancel := context.WithCancel(context.TODO())
p := &chainHop{
nodes: options.nodes,
cancelFunc: cancel,
options: options,
logger: options.logger,