ec0c7c5989
This commit seems to fix a sporadic error within the integration tests which would at times cause a panic when a payment as initiated. This issue was with the way were deleting from the middle of the slice of unvisited nodes within the graph. Assigning the last element to the middle would at times cause a panic the last element may be nil. To fix this, we now manually copy every item over by one, preserving the order of the slice, and possibly fixing the panic once and for all. |
||
---|---|---|
.. | ||
testdata | ||
errors.go | ||
fibonacci.go | ||
graph.go | ||
log.go | ||
pathfind_test.go | ||
pathfind.go | ||
router.go |