Merge pull request #8977 from ellemouton/fixTestRace

routing: fix race in TestNewRouteRequest
This commit is contained in:
Elle 2024-08-05 18:36:56 +02:00 committed by GitHub
commit f341d4c65f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2234,6 +2234,7 @@ func TestNewRouteRequest(t *testing.T) {
var (
blindedPathInfo *BlindedPaymentPathSet
expectedTarget = testCase.expectedTarget
err error
)
if testCase.blindedPayment != nil {
blindedPathInfo, err = NewBlindedPaymentPathSet(