Merge pull request #3256 from joostjager/failure-attribution

routing: failure attribution
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2019-08-20 16:53:56 -07:00
commit 2f8d3c4526
13 files changed
+650 -364

No files matched your search

+1 -1
View File
@@ -3567,7 +3567,7 @@ func testSphinxReplayPersistence(net *lntest.NetworkHarness, t *harnessTest) {
// Construct the response we expect after sending a duplicate packet
// that fails due to sphinx replay detection.
replayErr := "TemporaryChannelFailure"
replayErr := "InvalidOnionKey"
if !strings.Contains(resp.PaymentError, replayErr) {
t.Fatalf("received payment error: %v, expected %v",
resp.PaymentError, replayErr)