fix empty hop nodes

This commit is contained in:
ginuerzh
2025-08-10 18:36:43 +08:00
parent a5f66b0615
commit 0e5c285eb7
2 changed files with 1 additions and 1 deletions
+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,