Found a possible issue in [hdfchain/hdfd](https://www.github.com/hdfchain/hdfd) at [rpctest/rpc_harness_test.go](https://github.com/hdfchain/hdfd/blob/3464dacd7d1ae95cfa57eec19eeac8658e88fe06/rpctest/rpc_harness_test.go#L716-L733) The below snippet of Go code triggered static analysis which searches for goroutines and/or defer statements which capture loop variables. [Click here to see the code in its original context.](https://github.com/hdfchain/hdfd/blob/3464dacd7d1ae95cfa57eec19eeac8658e88fe06/rpctest/rpc_harness_test.go#L716-L733) <details> <summary>Click here to show the 18 line(s) of Go which triggered the analyzer.</summary> ```go for _, testCase := range tests { t.Logf("=== Running test: %v ===", testCase.name) c := make(chan struct{}) go func() { testCase.f(ctx, mainHarness, t) c <- struct{}{} }() // Go wait for 10 seconds select { case <-c: case <-time.After(10 * time.Second): t.Logf("Test timeout, aborting running nodes") PanicAll(t) os.Exit(1) } } ``` </details> commit ID: 3464dacd7d1ae95cfa57eec19eeac8658e88fe06
Found a possible issue in hdfchain/hdfd at rpctest/rpc_harness_test.go
The below snippet of Go code triggered static analysis which searches for goroutines and/or defer statements
which capture loop variables.
Click here to see the code in its original context.
Click here to show the 18 line(s) of Go which triggered the analyzer.
commit ID: 3464dacd7d1ae95cfa57eec19eeac8658e88fe06