176fde4ec0
In this commit we fix a slight bug within the existing SendPayment loop which would cause the wrong error to be returned to users. Prior to this commit, if we received an update identical to what we were already aware of, then that error would be returned rather than the ForwardingError that encapsulated this update. In this commit with remedy this by properly returning the exact error. Partially fixes #391. |
||
---|---|---|
.. | ||
chainview | ||
testdata | ||
errors.go | ||
graph.go | ||
heap_test.go | ||
heap.go | ||
log.go | ||
missioncontrol.go | ||
notifications_test.go | ||
notifications.go | ||
pathfind_test.go | ||
pathfind.go | ||
README.md | ||
router_test.go | ||
router.go |
routing
The routing package implements authentication+validation of channel announcements, pruning of the channel graph, path finding within the network, sending outgoing payments into the network and synchronizing new peers to our channel graph state.
Installation and Updating
$ go get -u github.com/lightningnetwork/lnd/routing